Unscored severity · published Sep 16, 2013
CVE-2012-6087
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…
–
CVSS
0.6%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 49% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
Moodle · Moodle
through 2.2.11; 2.2.0; 2.2.1; 2.2.2; 2.2.3; 2.2.4; +23 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-6087
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-6087
Patch
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40615
www.openwall.com
http://www.openwall.com/lists/oss-security/2013/01/03/1
Patch
https://moodle.org/mod/forum/discuss.php?d=238393
More from Moodle
10.0
CVE-2019-3809
A flaw was found in Moodle versions 3.1 to 3.1.15 and earlier unsupported versions
9.8
CVE-2025-67856
Moodle: moodle: privilege escalation via incomplete role checks in badge awarding
9.8
CVE-2025-26533
SQL injection risk in course search module list filter
9.8
CVE-2024-33999
The referrer URL used by MFA required additional sanitizing, rather than being used directly
9.8
CVE-2023-5550
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the…
