CVE-2018-10870 Path traversal in rhcertstore.py
A remote attacker can exploit improper path sanitization to overwrite arbitrary files, potentially achieving remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-10870?
CVE-2018-10870 is a critical path traversal vulnerability in redhat-certification rhcertstore.py, published on 19 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
redhat-certification does not properly sanitize paths in rhcertStore.py:__saveResultsFile. A remote attacker could use this flaw to overwrite any file, potentially gaining remote code execution.
Which versions are affected by CVE-2018-10870?
It affects 1 product.
Products include Redhat Certification.
How do I fix CVE-2018-10870?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-10870 being exploited?
There is no known exploitation of CVE-2018-10870 in the wild and no public exploit code.
Other vulnerabilities in redhat-certification rhcertstore.py
Sources
Also known as GHSA-3v7r-5qj8-2v68.