# CVE-2012-0794

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2012-07-17 · Modified: 2024-08-06
- Record: https://cvemate.com/vulnerability/CVE-2012-0794 · JSON: https://cvemate.com/vulnerability/CVE-2012-0794/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:N/A:N
- EPSS: 1.384%, percentile 73.127%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- moodle moodle: 1.9.1 \| 1.9.2 \| 1.9.3 \| 1.9.4 \| 1.9.5 \| 1.9.6 \| 1.9.7 \| 1.9.8 \| 1.9.9 \| 1.9.10 \| 1.9.11 \| 1.9.12 \| 1.9.13 \| 1.9.14 \| 1.9.15 \| 2.0.0 \| 2.0.1 \| 2.0.2 \| 2.0.3 \| 2.0.4 \| 2.0.5 \| 2.0.6 \| 2.1.0 \| 2.1.1 \| 2.1.2 \| 2.1.3 \| 2.2.0

## References

- <http://moodle.org/mod/forum/discuss.php?d=194013>
- <http://www.debian.org/security/2012/dsa-2421>
- <http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=98456628a24bba25d336860d38a45b5a4e3895da>
- <https://bugzilla.redhat.com/show_bug.cgi?id=783532>

---

Data as of 2026-12-05T06:58:20.633Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
