CVE-2013-4524 Path traversal in n/a

Medium 6.8 Published Updated

Authenticated users can read arbitrary files on the server via directory traversal in Moodle's filesystem library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4524?

CVE-2013-4524 is a medium-severity path traversal vulnerability in Moodle Moodle, published on 26 Nov 2013. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directory traversal vulnerability in repository/filesystem/lib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in a path.

Weakness: CWE-22

Which versions are affected by CVE-2013-4524?

It affects 1 product.

Products include Moodle Moodle.

How do I fix CVE-2013-4524?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2013-4524 being exploited?

There is no known exploitation of CVE-2013-4524 in the wild and no public exploit code.

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-3w4p-mc7m-x3qf.

Is CVE-2013-4524 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free