CVE-2012-6087Moodle
Medium 5.8 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 2.0
- 5.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- No
- Published
- Sep 16, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
What happens
repository/s3/S3.php in the Amazon S3 library in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to an incorrect CURLOPT_SSL_VERIFYHOST value.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≤ 2.2.11 |
| moodle | moodle | 2.2.0 |
| moodle | moodle | 2.2.1 |
| moodle | moodle | 2.2.2 |
| moodle | moodle | 2.2.3 |
| moodle | moodle | 2.2.4 |
| moodle | moodle | 2.2.5 |
| moodle | moodle | 2.2.6 |
| moodle | moodle | 2.2.7 |
| moodle | moodle | 2.2.8 |
| moodle | moodle | 2.2.9 |
| moodle | moodle | 2.2.10 |
| moodle | moodle | 2.3.0 |
| moodle | moodle | 2.3.1 |
| moodle | moodle | 2.3.2 |
| moodle | moodle | 2.3.3 |
| moodle | moodle | 2.3.4 |
| moodle | moodle | 2.3.5 |
| moodle | moodle | 2.3.6 |
| moodle | moodle | 2.3.7 |
| moodle | moodle | 2.3.8 |
| moodle | moodle | 2.4.0 |
| moodle | moodle | 2.4.1 |
| moodle | moodle | 2.4.2 |
| moodle | moodle | 2.4.3 |
| moodle | moodle | 2.4.4 |
| moodle | moodle | 2.4.5 |
| moodle | moodle | 2.5.0 |
| moodle | moodle | 2.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- www.openwall.com
- moodle.org Patch Vendor Advisory