CVE-2021-31731 Path traversal in n/a

Medium 6.5 Published Updated

Remote administrators can overwrite arbitrary files with PHP code via directory traversal in KiteCMS, leading to code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31731?

CVE-2021-31731 is a medium-severity path traversal vulnerability in n/a, published on 12 Aug 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A directory traversal issue in KiteCMS 1.1.1 allows remote administrators to overwrite arbitrary files via ../ in the path parameter to index.php/admin/Template/fileedit, with PHP code in the html parameter.

Weakness: CWE-22

Which versions are affected by CVE-2021-31731?

It affects 1 product.

Products include Kitesky Kitecms.

How do I fix CVE-2021-31731?

No fix has been published for CVE-2021-31731 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-31731 being exploited?

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

Sources

Also known as GHSA-3h9r-vp3w-6gqw.

Is CVE-2021-31731 in your software?

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

Check your SBOMs for free