CVE-2012-0794

CVE-2012-0794 is a medium-severity vulnerability in Moodle with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-255.

Key facts

Description

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.

Frequently asked questions

What is CVE-2012-0794?
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.
How severe is CVE-2012-0794?
CVE-2012-0794 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2012-0794 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (69th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-0794?
CVE-2012-0794 primarily affects Moodle. In total, 27 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-0794?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-0794 published?
CVE-2012-0794 was published on 2012-07-17 and last updated on 2026-06-16.

References

Affected products (27)

More vulnerabilities in Moodle

All CVEs affecting Moodle →

Other CWE-255 (Credentials Management Errors) vulnerabilities

Browse all CWE-255 (Credentials Management Errors) vulnerabilities →