CVE-2017-9069 MODX Revolution allows overwriting .htaccess

High 8.8 Published Updated

An attacker with file upload permissions can execute arbitrary code by uploading a malicious .htaccess file in MODX Revolution.

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-2017-9069?

CVE-2017-9069 is a high-severity vulnerability in n/a, published on 18 May 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In MODX Revolution before 2.5.7, a user with file upload permissions is able to execute arbitrary code by uploading a file with the name .htaccess.

Weakness: CWE-434

Which versions are affected by CVE-2017-9069?

2 open source packages ship an affected version, including modx/revolution. It affects 1 product.

PackageAffectedFixed in
modx/revolution PackagistAll versions2.5.7
modx/revolution PackagistAll versions2.5.7

Products include Modx Modx Revolution.

How do I fix CVE-2017-9069?

Upgrade modx/revolution to 2.5.7 or later.

Is CVE-2017-9069 being exploited?

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

Sources

Also known as GHSA-23gj-x27g-r34f.

Is CVE-2017-9069 in your software?

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

Check your SBOMs for free