cve.bz

CVE-2018-10870 redhat certification: Path traversal

9.8 criticalEPSS 6.1%

Critical (9.8) in redhat certification. EPSS 6.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.1% (unchanged from 6.1% a week ago; 6.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10870 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10870?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10870?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10870 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatcertifications:1::el7redhat-certification, redhat-certification-cloud, redhat-certification-backend and 2 more0:5.16-20180809.el7RHSA-2018:2373
Red Hatcertifications:1::el7redhat-certification-hardware, redhat-certification-hardware-preview0:5.16-20180809.1.el7RHSA-2018:2373

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Critical.

Red Hat's mitigation

If SELinux is enabled it further restricts the set of files an attacker may write to. This prevents some basic attacks that would allow to gain remote code execution, though it is not excluded other means are possible.

ProductPackageStateAdvisory
Red Hat Certification for Red Hat Enterprise Linux 7redhat-certification-0:5.16-20180809.el7Fixed 2018-08-09RHSA-2018:2373
Red Hat Certification for Red Hat Enterprise Linux 7redhat-certification-hardware-0:5.16-20180809.1.el7Fixed 2018-08-09RHSA-2018:2373
Red Hat Certification for Red Hat Enterprise Linux 7redhat-certification-hardware-preview-0:5.16-20180809.1.el7Fixed 2018-08-09RHSA-2018:2373
Red Hat Certification for Red Hat Enterprise Linux 6redhat-certificationNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10870.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON