SecurityContext

CVE-2024-34005: Moodle - File Inclusion

  • Cve: CVE-2024-34005
  • Name: Moodle - File Inclusion
  • Description: In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore database activity modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
  • Impact: Attackers can execute arbitrary local files, potentially leading to remote code execution or full server compromise.
  • Remediation: Configure hosting environment securely to prevent unauthorized file includes and restrict user privileges appropriately.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution, file_system_read
  • Requirement type: logged_in
  • Requirements: Attacker needs restore privileges and direct server access
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00479
  • Epss percentile: 0.42213
  • Assignee: [email protected]
  • Published at: 2024-05-31T21:15:09Z
  • Age in days: 907
  • Modified at: 2026-06-17T07:32:43Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34005
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor
NVD-CWE-noinfo—

References

UrlSourceTags
https://moodle.org/mod/forum/discuss.php?d=458394nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle>= 4.3.0, < 4.3.4; >= 4.2.0, < 4.2.7; < 4.1.10nonvd/v1/products/moodle/moodle

Projects

RepositoryLink kindsIndexedUrl
moodle/moodlecommit, fix, packageyes/v1/repositories/moodle/moodle

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports