Live threats

All CVEs / Moodle

CVE-2012-6087Moodle

Medium 5.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
moodlemoodle≤ 2.2.11
moodlemoodle2.2.0
moodlemoodle2.2.1
moodlemoodle2.2.2
moodlemoodle2.2.3
moodlemoodle2.2.4
moodlemoodle2.2.5
moodlemoodle2.2.6
moodlemoodle2.2.7
moodlemoodle2.2.8
moodlemoodle2.2.9
moodlemoodle2.2.10
moodlemoodle2.3.0
moodlemoodle2.3.1
moodlemoodle2.3.2
moodlemoodle2.3.3
moodlemoodle2.3.4
moodlemoodle2.3.5
moodlemoodle2.3.6
moodlemoodle2.3.7
moodlemoodle2.3.8
moodlemoodle2.4.0
moodlemoodle2.4.1
moodlemoodle2.4.2
moodlemoodle2.4.3
moodlemoodle2.4.4
moodlemoodle2.4.5
moodlemoodle2.5.0
moodlemoodle2.5.1

Official sources

References

Links published by the sources. Open them with care.