Vulnerability in qemu Media Transfer Protocol (CVE-2018-16872)
Summary
Vulnerability in qemu Media Transfer Protocol (CVE-2018-16872). Confidential information can be exposed externally.
Original description
The description as published by the source.
A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usb_mtp_get_object and usb_mtp_get_partial_object and directories in usb_mtp_object_readdir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usb_mtp_object_alloc, a classical TOCTTOU problem. An attacker with write access to the host filesystem shared with a guest can use this property to navigate the host filesystem in the context of the QEMU process and read any file the QEMU process has access to. Access to the filesystem may be local or via a network share protocol such as CIFS.
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2018-16872 has been found in qemu Media Transfer Protocol.
Confidential information can be exposed externally.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "qemu Media Transfer Protocol CVE-2018-16872" on the vendor's site.
CVE-2018-16872 (qemu Media Transfer Protocol)
Attack vector: remote (network-reachable) / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in qemu Media Transfer Protocol.
Check the vendor advisory for the affected versions of qemu Media Transfer Protocol.
Severity: ?. Confidential information can be exposed externally.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで qemu Media Transfer Protocol を使っているサービスとバージョンを洗い出す。
-
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2018-16872 qemu Fixed in: 1:3.1+dfsg-2
References
- advisory lists.opensuse.org
- advisory securityfocus.com
- advisory lists.debian.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory seclists.org
- advisory usn.ubuntu.com
- advisory debian.org
- patch bugzilla.redhat.com