CVE-2015-1493
What it is
Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.
At a glance
- Exploitability
- Can be exploited over the network with a login. High risk of data exposure.
- Exploit odds
- 2.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.6% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.6% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Moodle ≤ 2.5.9
- Moodle 2.5.0
- Moodle 2.5.1
- Moodle 2.5.2
- Moodle 2.5.3
- Moodle 2.5.4
- Moodle 2.5.5
- Moodle 2.5.6
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Low
- Authentication
- Single
- Confidentiality
- Complete
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:L/Au:S/C:C/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-1493.md and follow it. Check whether this project is affected by CVE-2015-1493. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=af9a7937cc085f96bdbc4724cadec6eeae0242fc
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-48980
- http://openwall.com/lists/oss-security/2015/02/04/15
- http://openwall.com/lists/oss-security/2015/02/09/2
- https://moodle.org/mod/forum/discuss.php?d=279956
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=af9a7937cc085f96bdbc4724cadec6eeae0242fc
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-48980
- http://openwall.com/lists/oss-security/2015/02/04/15
- http://openwall.com/lists/oss-security/2015/02/09/2
- https://moodle.org/mod/forum/discuss.php?d=279956