Live threats

All CVEs / Moodle

CVE-2012-0794Moodle

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Jul 17, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-255
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

The rc4encrypt function in lib/moodlelib.php in Moodle 1.9.x before 1.9.16, 2.0.x before 2.0.7, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 uses a hardcoded password of nfgjeingjk, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by reading this script's source code within the open-source software distribution.

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
moodlemoodle1.9.1
moodlemoodle1.9.2
moodlemoodle1.9.3
moodlemoodle1.9.4
moodlemoodle1.9.5
moodlemoodle1.9.6
moodlemoodle1.9.7
moodlemoodle1.9.8
moodlemoodle1.9.9
moodlemoodle1.9.10
moodlemoodle1.9.11
moodlemoodle1.9.12
moodlemoodle1.9.13
moodlemoodle1.9.14
moodlemoodle1.9.15
moodlemoodle2.0.0
moodlemoodle2.0.1
moodlemoodle2.0.2
moodlemoodle2.0.3
moodlemoodle2.0.4
moodlemoodle2.0.5
moodlemoodle2.0.6
moodlemoodle2.1.0
moodlemoodle2.1.1
moodlemoodle2.1.2
moodlemoodle2.1.3
moodlemoodle2.2.0

Official sources

References

Links published by the sources. Open them with care.