CVE-2020-25074 MoinMoin vulnerable to remote code execution via cache action

Critical 9.8 Published Updated

An attacker with upload privileges can exploit a directory traversal flaw in the cache action to achieve remote code execution on the MoinMoin wiki server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-25074?

CVE-2020-25074 is a critical path traversal vulnerability in Debian Debian Linux, published on 10 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The cache action in action/cache.py in MoinMoin through 1.9.10 allows directory traversal through a crafted HTTP request. An attacker who can upload attachments to the wiki can use this to achieve remote code execution.

Weakness: CWE-22

Which versions are affected by CVE-2020-25074?

3 open source packages ship an affected version, including moin. It affects 2 products.

PackageAffectedFixed in
moin PyPIAll versions1.9.11
moin PyPIAll versions1.9.11
moin PyPIAll versions1.9.11

Products include Debian Debian Linux, Moinmo Moinmoin.

How do I fix CVE-2020-25074?

Upgrade moin to 1.9.11 or later.

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

Is CVE-2020-25074 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-52q8-877j-gghq, PYSEC-2020-67, UBUNTU-CVE-2020-25074.

Is CVE-2020-25074 in your software?

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

Check your SBOMs for free