ID CVE-2010-3851
Summary libguestfs before 1.5.23, as used in virt-v2v, virt-inspector 1.5.3 and earlier, and possibly other products, when a raw-format disk image is used, allows local guest OS administrators to read files from the host via a crafted (1) qcow2, (2) VMDK, or (3) VDI header, related to lack of support for a disk format specifier.
References
Vulnerable Configurations
  • libguestfs 1.5.0
    cpe:2.3:a:libguestfs:libguestfs:1.5.0
  • libguestfs 1.5.1
    cpe:2.3:a:libguestfs:libguestfs:1.5.1
  • libguestfs 1.5.2
    cpe:2.3:a:libguestfs:libguestfs:1.5.2
  • libguestfs 1.5.3
    cpe:2.3:a:libguestfs:libguestfs:1.5.3
  • libguestfs 1.5.20
    cpe:2.3:a:libguestfs:libguestfs:1.5.20
  • libguestfs 1.5.21
    cpe:2.3:a:libguestfs:libguestfs:1.5.21
  • libguestfs 1.5.17
    cpe:2.3:a:libguestfs:libguestfs:1.5.17
  • libguestfs 1.5.16
    cpe:2.3:a:libguestfs:libguestfs:1.5.16
  • libguestfs 1.5.19
    cpe:2.3:a:libguestfs:libguestfs:1.5.19
  • libguestfs 1.5.18
    cpe:2.3:a:libguestfs:libguestfs:1.5.18
  • libguestfs 1.5.13
    cpe:2.3:a:libguestfs:libguestfs:1.5.13
  • libguestfs 1.5.12
    cpe:2.3:a:libguestfs:libguestfs:1.5.12
  • libguestfs 1.5.15
    cpe:2.3:a:libguestfs:libguestfs:1.5.15
  • libguestfs 1.5.14
    cpe:2.3:a:libguestfs:libguestfs:1.5.14
  • libguestfs 1.5.9
    cpe:2.3:a:libguestfs:libguestfs:1.5.9
  • libguestfs 1.5.8
    cpe:2.3:a:libguestfs:libguestfs:1.5.8
  • libguestfs 1.5.11
    cpe:2.3:a:libguestfs:libguestfs:1.5.11
  • libguestfs 1.5.10
    cpe:2.3:a:libguestfs:libguestfs:1.5.10
  • libguestfs 1.5.5
    cpe:2.3:a:libguestfs:libguestfs:1.5.5
  • libguestfs 1.5.4
    cpe:2.3:a:libguestfs:libguestfs:1.5.4
  • libguestfs 1.5.7
    cpe:2.3:a:libguestfs:libguestfs:1.5.7
  • libguestfs 1.5.6
    cpe:2.3:a:libguestfs:libguestfs:1.5.6
  • libguestfs 1.5.22
    cpe:2.3:a:libguestfs:libguestfs:1.5.22
  • cpe:2.3:a:matthew_booth:virt-v2v
    cpe:2.3:a:matthew_booth:virt-v2v
  • cpe:2.3:a:richard_jones:virt-inspector:1.5.3
    cpe:2.3:a:richard_jones:virt-inspector:1.5.3
CVSS
Base: 4.7 (as of 05-11-2010 - 10:16)
Impact:
Exploitability:
CWE CWE-200
CAPEC
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE NONE NONE
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2010-16835.NASL
    description CVE-2010-3851: Fix for libguestfs: missing disk format specifier when adding a disk (RHBZ#642934). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 50458
    published 2010-11-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50458
    title Fedora 14 : libguestfs-1.5.23-1 (2010-16835)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110519_LIBGUESTFS_ON_SL6_X.NASL
    description libguestfs is a library for accessing and modifying guest disk images. libguestfs relied on the format auto-detection in QEMU rather than allowing the guest image file format to be specified. A privileged guest user could potentially use this flaw to read arbitrary files on the host that were accessible to a user on that host who was running a program that utilized the libguestfs library. (CVE-2010-3851) This erratum upgrades libguestfs to upstream version 1.7.17, which includes a number of bug fixes and one enhancement. All libguestfs users are advised to upgrade to these updated packages, which correct this issue, and fix the bugs and add the enhancement.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61042
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61042
    title Scientific Linux Security Update : libguestfs on SL6.x x86_64
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2010-17202.NASL
    description This update moved from the heavily patched version of stable 1.4 that we offered previously in Fedora 13, to the new stable branch 1.6. Please note the low-risk security problem which is fixed in this release. CVE-2010-3851 libguestfs: missing disk format specifier when adding a disk https://www.redhat.com/archives/libguestfs/2010-October/msg00036.html Fix networking in the appliance. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 50567
    published 2010-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50567
    title Fedora 13 : libguestfs-1.6.0-1.fc13.1 (2010-17202)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-0586.NASL
    description Updated libguestfs packages that fix one security issue, several bugs, and add one enhancement are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. libguestfs is a library for accessing and modifying guest disk images. libguestfs relied on the format auto-detection in QEMU rather than allowing the guest image file format to be specified. A privileged guest user could potentially use this flaw to read arbitrary files on the host that were accessible to a user on that host who was running a program that utilized the libguestfs library. (CVE-2010-3851) This erratum upgrades libguestfs to upstream version 1.7.17, which includes a number of bug fixes and one enhancement. Documentation for these bug fixes and this enhancement is provided in the Technical Notes document, linked to in the References section. All libguestfs users are advised to upgrade to these updated packages, which correct this issue, and fix the bugs and add the enhancement noted in the Technical Notes.
    last seen 2019-02-21
    modified 2018-12-20
    plugin id 63981
    published 2013-01-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63981
    title RHEL 6 : libguestfs (RHSA-2011:0586)
redhat via4
advisories
bugzilla
id 695138
title Remove dependency on gfs2-utils
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhsa:tst:20100842001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhsa:tst:20100842002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20100842003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20100842004
  • OR
    • AND
      • comment guestfish is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586021
      • comment guestfish is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586022
    • AND
      • comment libguestfs is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586005
      • comment libguestfs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586006
    • AND
      • comment libguestfs-devel is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586007
      • comment libguestfs-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586008
    • AND
      • comment libguestfs-java is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586017
      • comment libguestfs-java is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586018
    • AND
      • comment libguestfs-java-devel is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586027
      • comment libguestfs-java-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586028
    • AND
      • comment libguestfs-javadoc is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586011
      • comment libguestfs-javadoc is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586012
    • AND
      • comment libguestfs-mount is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586025
      • comment libguestfs-mount is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586026
    • AND
      • comment libguestfs-tools is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586009
      • comment libguestfs-tools is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586010
    • AND
      • comment libguestfs-tools-c is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586019
      • comment libguestfs-tools-c is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586020
    • AND
      • comment ocaml-libguestfs is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586013
      • comment ocaml-libguestfs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586014
    • AND
      • comment ocaml-libguestfs-devel is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586029
      • comment ocaml-libguestfs-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586030
    • AND
      • comment perl-Sys-Guestfs is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586023
      • comment perl-Sys-Guestfs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586024
    • AND
      • comment python-libguestfs is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586015
      • comment python-libguestfs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586016
    • AND
      • comment ruby-libguestfs is earlier than 1:1.7.17-17.el6
        oval oval:com.redhat.rhsa:tst:20110586031
      • comment ruby-libguestfs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110586032
rhsa
id RHSA-2011:0586
released 2011-05-19
severity Low
title RHSA-2011:0586: libguestfs security, bug fix, and enhancement update (Low)
rpms
  • guestfish-1:1.7.17-17.el6
  • libguestfs-1:1.7.17-17.el6
  • libguestfs-devel-1:1.7.17-17.el6
  • libguestfs-java-1:1.7.17-17.el6
  • libguestfs-java-devel-1:1.7.17-17.el6
  • libguestfs-javadoc-1:1.7.17-17.el6
  • libguestfs-mount-1:1.7.17-17.el6
  • libguestfs-tools-1:1.7.17-17.el6
  • libguestfs-tools-c-1:1.7.17-17.el6
  • ocaml-libguestfs-1:1.7.17-17.el6
  • ocaml-libguestfs-devel-1:1.7.17-17.el6
  • perl-Sys-Guestfs-1:1.7.17-17.el6
  • python-libguestfs-1:1.7.17-17.el6
  • ruby-libguestfs-1:1.7.17-17.el6
refmap via4
bid 44166
confirm http://rwmj.wordpress.com/2010/10/23/new-libguestfs-stable-versions/
fedora
  • FEDORA-2010-16835
  • FEDORA-2010-17202
misc https://bugzilla.redhat.com/show_bug.cgi?id=643958
mlist
  • [Libguestfs] 20101019 CVE-2010-3851libguestfs:missing disk format specifier when adding a disk
  • [Libguestfs] 20101021 [PATCH 0/2] First part of fix for CVE-2010-3851
  • [Libguestfs] 20101022 [PATCH 0/8 v2] Complete fix for CVE-2010-3851.
secunia
  • 41797
  • 42235
vupen
  • ADV-2010-2874
  • ADV-2010-2963
Last major update 26-08-2011 - 23:44
Published 04-11-2010 - 14:00
Back to Top