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.
Metrics
CVSS 2.0 5.0/10
AV:N/AC:L/Au:N/C:P/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=98456628a24bba25d336860d38a45b5a4e3895da
- http://moodle.org/mod/forum/discuss.php?d=194013Vendor Advisory
- http://www.debian.org/security/2012/dsa-2421
- https://bugzilla.redhat.com/show_bug.cgi?id=783532
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=98456628a24bba25d336860d38a45b5a4e3895da
- http://moodle.org/mod/forum/discuss.php?d=194013Vendor Advisory
- http://www.debian.org/security/2012/dsa-2421
- https://bugzilla.redhat.com/show_bug.cgi?id=783532
Timeline
- Published
- Jul 17, 2012
- Last modified
- Jun 16, 2026
- NVD status
- Modified