| 제목 | https://github.com/CouchCMS/CouchCMS ≤ 2.4 Use of Hard-coded Cryptographic Key |
|---|
| 설명 | 1. **Hardcoded Google reCAPTCHA Test Keys:**
- In the file `couch/config.example.php`, the default reCAPTCHA configuration uses Google's official test keys which always return `success: true` for any verification request.
- The vulnerable code at lines 160-161:
```php
define( 'K_RECAPTCHA_SITE_KEY', '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI' );
define( 'K_RECAPTCHA_SECRET_KEY', '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe' );
```
2. **Exploiting the Vulnerability:**
- These keys are Google's publicly documented test keys that bypass all CAPTCHA validation.
- Any form protected by reCAPTCHA (contact forms, comment forms, registration forms) can be automated without solving the CAPTCHA.
- The validation in `couch/addons/recaptcha/recaptcha.php` at line 82 checks `$response['success']` which will always be `true` with test keys.
3. **Impact:**
- Automated spam submission on contact forms
- Brute force attacks on login forms
- Mass comment spam
- Automated account registration |
|---|
| 원천 | ⚠️ https://note-hxlab.wetolink.com/share/jNNcrdrNyCvl |
|---|
| 사용자 | hiro (UID 93548) |
|---|
| 제출 | 2025. 12. 18. AM 11:59 (10 개월 ago) |
|---|
| 모더레이션 | 2025. 12. 21. PM 01:42 (3 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 337711 [CouchCMS 까지 2.4 reCAPTCHA couch/config.example.php K_RECAPTCHA_SITE_KEY/K_RECAPTCHA_SECRET_KEY 약한 암호화] |
|---|
| 포인트들 | 20 |
|---|