CVE-2018-12474 Crafted service parameters allows to induce unexpected behaviour in obs-service-tar_scm
Remote attackers can exploit improper input validation to access files outside the build directory or create files in arbitrary locations.
- 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-2018-12474?
CVE-2018-12474 is a medium-severity path traversal vulnerability in openSUSE Open Build Service, published on 9 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper input validation in obs-service-tar_scm of Open Build Service allows remote attackers to cause access and extract information outside the current build or cause the creation of file in attacker controlled locations. Affected releases are openSUSE Open Build Service: versions prior to 51a17c553b6ae2598820b7a90fd0c11502a49106.
Weakness: CWE-20
Which versions are affected by CVE-2018-12474?
It affects 1 product.
Products include Opensuse Tar Scm.
How do I fix CVE-2018-12474?
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-12474 being exploited?
There is no known exploitation of CVE-2018-12474 in the wild and no public exploit code.
Sources
Also known as GHSA-2g8g-ghh7-j7r3.