CVE-2018-12477 obs-service-refresh_patches can be tricked into deleting '..' or other unrelated directories
Remote attackers can trick the Open Build Service into deleting arbitrary directories, including parent directories, via improper CRLF sequence handling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-12477?
CVE-2018-12477 is a low-severity path traversal vulnerability in Opensuse Leap, published on 9 Oct 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A Improper Neutralization of CRLF Sequences vulnerability in Open Build Service allows remote attackers to cause deletion of directories by tricking obs-service-refresh_patches to delete them. Affected releases are openSUSE Open Build Service: versions prior to d6244245dda5367767efc989446fe4b5e4609cce.
Weakness: CWE-93
Which versions are affected by CVE-2018-12477?
It affects 1 product.
Linux distribution packages (1)
obs-service-refresh_patches openSUSE:Tumbleweed | All versions | 0.3.9+git.1625238904.d59f20e-1.2 |
Products include Opensuse Leap.
How do I fix CVE-2018-12477?
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-12477 being exploited?
There is no known exploitation of CVE-2018-12477 in the wild and no public exploit code.
Other vulnerabilities in Opensuse Leap
Sources
Also known as GHSA-vp32-rg8f-2jxg, openSUSE-SU-2024:11105-1.