All vulnerabilities

Servers and applications

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.

Severity
Medium 5.0
Published
17 Jul 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.4% in the next 30 daysHigher than 72% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-255
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Version 2.2.0
  • Version 2.1.3
  • Version 2.1.2
  • Version 2.1.1
All 27 release lines
  • Version 1.9.1
  • Version 1.9.2
  • Version 1.9.3
  • Version 1.9.4
  • Version 1.9.5
  • Version 1.9.6
  • Version 1.9.7
  • Version 1.9.8
  • Version 1.9.9
  • Version 1.9.10
  • Version 1.9.11
  • Version 1.9.12
  • Version 1.9.13
  • Version 1.9.14
  • Version 1.9.15
  • Version 2.0.0
  • Version 2.0.1
  • Version 2.0.2
  • Version 2.0.3
  • Version 2.0.4
  • Version 2.0.5
  • Version 2.0.6
  • Version 2.1.0
  • Version 2.1.1
  • Version 2.1.2
  • Version 2.1.3
  • Version 2.2.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-0794
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-0794