ID CVE-2007-5159 Type cve Reporter NVD Modified 2008-09-05T17:30:02
Description
The ntfs-3g package before 1.913-2.fc7 in Fedora 7, and an ntfs-3g package in Ubuntu 7.10/Gutsy, assign incorrect permissions (setuid root) to mount.ntfs-3g, which allows local users with fuse group membership to read from and write to arbitrary block devices, possibly involving a file descriptor leak.
{"assessment": {"system": "", "name": "", "href": ""}, "cvss": {"score": 4.6, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "type": "cve", "viewCount": 1, "bulletinFamily": "NVD", "edition": 1, "published": "2007-10-01T01:17:00", "objectVersion": "1.2", "history": [], "title": "CVE-2007-5159", "reporter": "NVD", "hash": "83ac55c927adef2c7beec757ff49553c152bbd996d7eccebd5e2414f1c87018e", "lastseen": "2016-09-03T09:34:06", "id": "CVE-2007-5159", "scanner": [], "description": "The ntfs-3g package before 1.913-2.fc7 in Fedora 7, and an ntfs-3g package in Ubuntu 7.10/Gutsy, assign incorrect permissions (setuid root) to mount.ntfs-3g, which allows local users with fuse group membership to read from and write to arbitrary block devices, possibly involving a file descriptor leak.", "modified": "2008-09-05T17:30:02", "cvelist": ["CVE-2007-5159"], "cpe": ["cpe:/a:ntfs-3g:ntfs-3g", "cpe:/a:ntfs-3g:ntfs-3g:1.913-1.fc7"], "references": ["https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00368.html", "https://bugzilla.redhat.com/show_bug.cgi?id=298651", "https://www.redhat.com/archives/fedora-desktop-list/2007-September/msg00163.html"], "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-5159", "enchantments": {"score": {"value": 2.1, "vector": "NONE", "modified": "2016-09-03T09:34:06"}, "dependencies": {"references": [{"type": "nessus", "idList": ["FEDORA_2007-2295.NASL"]}, {"type": "openvas", "idList": ["OPENVAS:861297", "OPENVAS:861540"]}], "modified": "2016-09-03T09:34:06"}, "vulnersScore": 2.1}}
{"nessus": [{"lastseen": "2019-01-16T20:07:42", "bulletinFamily": "scanner", "description": "It was discovered that members of the group fuse can get access to\ndevices which they normally should not have access to. For ntfs-3g\nmounts, this was because /sbin/mount.ntfs-3g was setuid root. This\nupdate fixes /sbin/mount.ntfs-3g so that it is no longer has the\nsetuid bit enabled. The fuse package is also being updated to correct\nan error in the previous testing package which incorrectly changed the\npermissions on /dev/fuse.\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "modified": "2015-10-21T00:00:00", "published": "2007-11-06T00:00:00", "id": "FEDORA_2007-2295.NASL", "href": "https://www.tenable.com/plugins/index.php?view=single&id=27764", "title": "Fedora 7 : fuse-2.7.0-5.fc7 / ntfs-3g-1.913-2.fc7 (2007-2295)", "type": "nessus", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory 2007-2295.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(27764);\n script_version (\"$Revision: 1.10 $\");\n script_cvs_date(\"$Date: 2015/10/21 21:54:55 $\");\n\n script_cve_id(\"CVE-2007-5159\");\n script_xref(name:\"FEDORA\", value:\"2007-2295\");\n\n script_name(english:\"Fedora 7 : fuse-2.7.0-5.fc7 / ntfs-3g-1.913-2.fc7 (2007-2295)\");\n script_summary(english:\"Checks rpm output for the updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora host is missing one or more security updates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"It was discovered that members of the group fuse can get access to\ndevices which they normally should not have access to. For ntfs-3g\nmounts, this was because /sbin/mount.ntfs-3g was setuid root. This\nupdate fixes /sbin/mount.ntfs-3g so that it is no longer has the\nsetuid bit enabled. The fuse package is also being updated to correct\nan error in the previous testing package which incorrectly changed the\npermissions on /dev/fuse.\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=298651\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2007-September/003892.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?68ad6ecb\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2007-September/003893.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?672d0299\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P\");\n script_cwe_id(264);\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:fuse\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:fuse-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:fuse-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:fuse-libs\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:ntfs-3g\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:ntfs-3g-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:ntfs-3g-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:7\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/09/25\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/11/06\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2015 Tenable Network Security, Inc.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = eregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^7([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 7.x\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"FC7\", reference:\"fuse-2.7.0-5.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"fuse-debuginfo-2.7.0-5.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"fuse-devel-2.7.0-5.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"fuse-libs-2.7.0-5.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"ntfs-3g-1.913-2.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"ntfs-3g-debuginfo-1.913-2.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"ntfs-3g-devel-1.913-2.fc7\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"fuse / fuse-debuginfo / fuse-devel / fuse-libs / ntfs-3g / etc\");\n}\n", "cvss": {"score": 4.6, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}], "openvas": [{"lastseen": "2017-07-25T10:56:11", "bulletinFamily": "scanner", "description": "Check for the Version of ntfs-3g", "modified": "2017-07-10T00:00:00", "published": "2009-02-27T00:00:00", "href": "http://plugins.openvas.org/nasl.php?oid=861297", "id": "OPENVAS:861297", "title": "Fedora Update for ntfs-3g FEDORA-2007-2295", "type": "openvas", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Fedora Update for ntfs-3g FEDORA-2007-2295\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"The ntfs-3g driver is an open source, GPL licensed, third generation\n Linux NTFS driver. It provides full read-write access to NTFS, excluding\n access to encrypted files, writing compressed files, changing file\n ownership, access right.\n\n Technically it\u00b4s based on and a major improvement to the third\n generation Linux NTFS driver, ntfsmount. The improvements include\n functionality, quality and performance enhancements.\n \n ntfs-3g features are being merged to ntfsmount. In the meanwhile,\n ntfs-3g is currently the only free, as in either speech or beer, NTFS\n driver for Linux that supports unlimited file creation and deletion.\";\n\ntag_affected = \"ntfs-3g on Fedora 7\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00368.html\");\n script_id(861297);\n script_cve_id(\"CVE-2007-5159\");\n script_version(\"$Revision: 6623 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-10 08:10:20 +0200 (Mon, 10 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-02-27 16:01:32 +0100 (Fri, 27 Feb 2009)\");\n script_tag(name:\"cvss_base\", value:\"4.6\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:L/Au:N/C:P/I:P/A:P\");\n script_xref(name: \"FEDORA\", value: \"2007-2295\");\n script_name( \"Fedora Update for ntfs-3g FEDORA-2007-2295\");\n\n script_summary(\"Check for the Version of ntfs-3g\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora\", \"ssh/login/rpms\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"FC7\")\n{\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g\", rpm:\"ntfs-3g~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g\", rpm:\"ntfs-3g~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g-devel\", rpm:\"ntfs-3g-devel~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g-debuginfo\", rpm:\"ntfs-3g-debuginfo~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g-devel\", rpm:\"ntfs-3g-devel~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g-debuginfo\", rpm:\"ntfs-3g-debuginfo~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"ntfs-3g\", rpm:\"ntfs-3g~1.913~2.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 4.6, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}, {"lastseen": "2017-07-25T10:57:00", "bulletinFamily": "scanner", "description": "Check for the Version of fuse", "modified": "2017-07-10T00:00:00", "published": "2009-02-27T00:00:00", "href": "http://plugins.openvas.org/nasl.php?oid=861540", "id": "OPENVAS:861540", "title": "Fedora Update for fuse FEDORA-2007-2295", "type": "openvas", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Fedora Update for fuse FEDORA-2007-2295\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"With FUSE it is possible to implement a fully functional filesystem in a\n userspace program. This package contains the FUSE userspace tools to\n mount a FUSE filesystem.\n\n Note: For security reasons only members of the group "fuse" are allowed to\n (u)mount fuse filesystems. You can find more details on this issue in\n /usr/share/doc/fuse-2.7.0/README.fedora\";\n\ntag_affected = \"fuse on Fedora 7\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00367.html\");\n script_id(861540);\n script_cve_id(\"CVE-2007-5159\");\n script_version(\"$Revision: 6623 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-10 08:10:20 +0200 (Mon, 10 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-02-27 16:01:32 +0100 (Fri, 27 Feb 2009)\");\n script_tag(name:\"cvss_base\", value:\"4.6\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:L/Au:N/C:P/I:P/A:P\");\n script_xref(name: \"FEDORA\", value: \"2007-2295\");\n script_name( \"Fedora Update for fuse FEDORA-2007-2295\");\n\n script_summary(\"Check for the Version of fuse\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora\", \"ssh/login/rpms\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"FC7\")\n{\n\n if ((res = isrpmvuln(pkg:\"fuse\", rpm:\"fuse~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse\", rpm:\"fuse~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse-devel\", rpm:\"fuse-devel~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse-debuginfo\", rpm:\"fuse-debuginfo~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse-libs\", rpm:\"fuse-libs~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse-libs\", rpm:\"fuse-libs~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse-devel\", rpm:\"fuse-devel~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse-debuginfo\", rpm:\"fuse-debuginfo~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"fuse\", rpm:\"fuse~2.7.0~5.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 4.6, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}]}