{"id":"CVE-2012-0794","aliases":["DSA-2421-1","EUVD-2012-0825","GHSA-9fh3-hj27-mwr8"],"status":"published","title":"The rc4encrypt function in lib/moodlelib.php in Moodle 1.9.x before 1.9.16, 2.0.x before 2.0.7, 2...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.014,"percentile":0.72666,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-255"],"published":"2012-02-29T00:00:00Z","modified":"2026-06-16T23:38:16Z","affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.9.dfsg2-2.1+squeeze3"}]}],"versions":["1.9.9.dfsg2-2.1","1.9.9.dfsg2-2.1+squeeze1","1.9.9.dfsg2-2.1+squeeze2"],"bundled":11}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://moodle.org/mod/forum/discuss.php?d=194013","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.debian.org/security/2012/dsa-2421","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=98456628a24bba25d336860d38a45b5a4e3895da","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=783532","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0794"},{"url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=98456628a24bba25d336860d38a45b5a4e3895da"},{"url":"https://github.com/advisories/GHSA-9fh3-hj27-mwr8"}],"sources":{"cve":[{"id":"CVE-2012-0794","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.","status":"published","published":"2012-07-17T10:00:00Z","modified":"2024-08-06T18:38:14.299Z","updated_at":"2026-11-02T14:34:52.981189Z"}],"euvd":[{"id":"EUVD-2012-0825","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.","status":"published","published":"2012-07-17T10:00:00Z","modified":"2024-08-06T18:38:14Z","updated_at":"2026-11-03T01:56:19.818597Z"}],"ghsa":[{"id":"GHSA-9fh3-hj27-mwr8","title":"The rc4encrypt function in lib/moodlelib.php in Moodle 1.9.x before 1.9.16, 2.0.x before 2.0.7, 2...","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.","status":"published","published":"2022-05-13T01:13:04Z","modified":"2023-02-13T03:30:23Z","updated_at":"2026-11-02T14:54:05.462623Z"}],"nvd":[{"id":"CVE-2012-0794","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.","status":"published","published":"2012-07-17T10:20:52.973Z","modified":"2026-06-16T23:38:16.41Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-255"],"updated_at":"2026-11-02T14:02:14.774945Z"}],"osv":[{"id":"DSA-2421-1","title":"moodle - several","status":"published","published":"2012-02-29T00:00:00Z","modified":"2026-03-09T01:18:58.815903Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
