CVE-2012-0794Moodle
Medium 5.0 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- 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.
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 | 1.9.1 |
| moodle | moodle | 1.9.2 |
| moodle | moodle | 1.9.3 |
| moodle | moodle | 1.9.4 |
| moodle | moodle | 1.9.5 |
| moodle | moodle | 1.9.6 |
| moodle | moodle | 1.9.7 |
| moodle | moodle | 1.9.8 |
| moodle | moodle | 1.9.9 |
| moodle | moodle | 1.9.10 |
| moodle | moodle | 1.9.11 |
| moodle | moodle | 1.9.12 |
| moodle | moodle | 1.9.13 |
| moodle | moodle | 1.9.14 |
| moodle | moodle | 1.9.15 |
| moodle | moodle | 2.0.0 |
| moodle | moodle | 2.0.1 |
| moodle | moodle | 2.0.2 |
| moodle | moodle | 2.0.3 |
| moodle | moodle | 2.0.4 |
| moodle | moodle | 2.0.5 |
| moodle | moodle | 2.0.6 |
| moodle | moodle | 2.1.0 |
| moodle | moodle | 2.1.1 |
| moodle | moodle | 2.1.2 |
| moodle | moodle | 2.1.3 |
| moodle | moodle | 2.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org
- moodle.org Vendor Advisory
- www.debian.org
- bugzilla.redhat.com