Skip to content
OpenAdvisories
Unscored CVE-2012-0794 EUVD-2012-0825GHSA-9fh3-hj27-mwr8

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 …

Published Jul 17, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 moodle 1.9.9.dfsg2-2.1+squeeze3 DSA-2421-1

Advisories 1

References