| 标题 | hybridauth >2.2.0 Improper Certificate Validation (CWE-295) |
|---|
| 描述 | # Summary
The default cURL configuration in src/HttpClient/Curl.php disables SSL certificate verification, making applications vulnerable to man-in-the-middle (MITM) attacks during OAuth/OIDC authentication flows.
Affected Code
https://github.com/hybridauth/hybridauth/blob/d5667267011ff3fc8409ab239afddc623c6311fe/src/HttpClient/Curl.php#L23-L33
```
protected $curlOptions = [
CURLOPT_TIMEOUT => 30,
CURLOPT_CONNECTTIMEOUT => 30,
CURLOPT_SSL_VERIFYPEER => false, // Verification disabled
CURLOPT_SSL_VERIFYHOST => false, // Host checking disabled
// ... other options
];
```
Maintainers were contacted on 2026-02-01 via email, followed up on 2026-02-20. An issue was created to alert them of a potential problem https://github.com/hybridauth/hybridauth/issues/1444 (no vuln details publicly disclosed). |
|---|
| 用户 | jstyles (UID 96251) |
|---|
| 提交 | 2026-03-09 04時12分 (7 月前) |
|---|
| 管理 | 2026-03-22 10時40分 (13 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 352423 [HybridAuth 直到 3.12.2 SSL src/HttpClient/Curl.php curlOptions 弱身份验证] |
|---|
| 积分 | 17 |
|---|