{"title": "Newsgrab Downloaded File Symlink Arbitrary File Overwrite", "published": "2005-01-28T16:16:45", "references": [], "type": "osvdb", "enchantments": {"score": {"value": 6.6, "vector": "NONE", "modified": "2017-04-28T13:20:09", "rev": 2}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2005-0153"]}, {"type": "nessus", "idList": ["FREEBSD_PKG_35F6093C73C311D98A9300065BE4B5B6.NASL"]}, {"type": "freebsd", "idList": ["35F6093C-73C3-11D9-8A93-00065BE4B5B6"]}, {"type": "openvas", "idList": ["OPENVAS:52200"]}, {"type": "exploitdb", "idList": ["EDB-ID:25080"]}, {"type": "seebug", "idList": ["SSV:78747"]}, {"type": "exploitpack", "idList": ["EXPLOITPACK:E9CAB8A1C48AB57B08C12782207E3F06"]}], "modified": "2017-04-28T13:20:09", "rev": 2}, "vulnersScore": 6.6}, "cvelist": ["CVE-2005-0153"], "viewCount": 1, "affectedSoftware": [], "id": "OSVDB:13459", "modified": "2005-01-28T16:16:45", "href": "https://vulners.com/osvdb/OSVDB:13459", "edition": 1, "description": "## Solution Description\nUpgrade to version 0.5.0pre4 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.\n## References:\nVendor URL: http://newsgrab.sourceforge.net/\nVendor Specific News/Changelog Entry: http://sourceforge.net/project/shownotes.php?release_id=300562\nSecurity Tracker: 1013055\n[Secunia Advisory ID:14083](https://secuniaresearch.flexerasoftware.com/advisories/14083/)\n[CVE-2005-0153](https://vulners.com/cve/CVE-2005-0153)\n", "bulletinFamily": "software", "reporter": "OSVDB", "cvss": {"vector": "NONE", "score": 0.0}, "lastseen": "2017-04-28T13:20:09", "immutableFields": []}
{"cve": [{"lastseen": "2016-03-20T14:03:08", "bulletinFamily": "NVD", "cvelist": ["CVE-2005-0153"], "description": "newsgrab is an application running on Unix that is used to download binary encoded messages from USENet. newsgrab versions prior to 0.5.0pre4 could allow a remote attacker to traverse directories on the Web server, caused by improper validation of user-supplied input in the file name. A remote attacker can send a specially-crafted file name containing \"dot dot\" (/../) sequences to traverse directories and overwrite arbitrary files on the system with user privileges.", "edition": 1, "modified": "2005-02-02T00:00:00", "published": "2005-02-02T00:00:00", "id": "CVE-2005-0153", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-0153", "title": "CVE-2005-0153: newsgrab file names directory traversal", "type": "cve", "cvss": {"score": 0.0, "vector": "AV:REMOTE/AC:LOW/Au:UNKNOWN/C:PARTIAL/I:NONE/A:NONE/"}}], "openvas": [{"lastseen": "2017-07-02T21:10:23", "bulletinFamily": "scanner", "cvelist": ["CVE-2005-0153"], "description": "The remote host is missing an update to the system\nas announced in the referenced advisory.", "modified": "2016-09-26T00:00:00", "published": "2008-09-04T00:00:00", "id": "OPENVAS:52200", "href": "http://plugins.openvas.org/nasl.php?oid=52200", "type": "openvas", "title": "FreeBSD Ports: newsgrab", "sourceData": "#\n#VID 35f6093c-73c3-11d9-8a93-00065be4b5b6\n# OpenVAS Vulnerability Test\n# $\n# Description: Auto generated from vuxml or freebsd advisories\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2008 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largely excerpted from the referenced\n# advisories, and are Copyright (c) the respective author(s)\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# 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 following package is affected: newsgrab\n\nCVE-2005-0153\n** RESERVED **\nThis candidate has been reserved by an organization or individual that\nwill use it when announcing a new security problem. When the\ncandidate has been publicized, the details for this candidate will be\nprovided.\";\ntag_solution = \"Update your system with the appropriate patches or\nsoftware upgrades.\n\nhttp://people.freebsd.org/~niels/issues/newsgrab-20050114.txt\nhttp://sourceforge.net/project/shownotes.php?release_id=300562\nhttp://www.vuxml.org/freebsd/35f6093c-73c3-11d9-8a93-00065be4b5b6.html\";\ntag_summary = \"The remote host is missing an update to the system\nas announced in the referenced advisory.\";\n\n\nif(description)\n{\n script_id(52200);\n script_version(\"$Revision: 4144 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2016-09-26 07:28:56 +0200 (Mon, 26 Sep 2016) $\");\n script_tag(name:\"creation_date\", value:\"2008-09-04 20:41:11 +0200 (Thu, 04 Sep 2008)\");\n script_cve_id(\"CVE-2005-0153\");\n script_tag(name:\"cvss_base\", value:\"5.8\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:P\");\n script_name(\"FreeBSD Ports: newsgrab\");\n\n\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2005 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"FreeBSD Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/freebsdrel\", \"login/SSH/success\");\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n#\n# The script code starts here\n#\n\ninclude(\"pkg-lib-bsd.inc\");\n\ntxt = \"\";\nvuln = 0;\nbver = portver(pkg:\"newsgrab\");\nif(!isnull(bver) && revcomp(a:bver, b:\"0.4.0\")<=0) {\n txt += 'Package newsgrab version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\n\nif(vuln) {\n security_message(data:string(txt));\n} else if (__pkg_match) {\n exit(99); # Not vulnerable.\n}\n", "cvss": {"score": 0.0, "vector": "NONE"}}], "freebsd": [{"lastseen": "2016-09-26T17:25:16", "bulletinFamily": "unix", "cvelist": ["CVE-2005-0153"], "edition": 1, "description": "\nThe newsgrab script creates files by using the names provided\n in the newsgroup messages in a perl open() call. This is done\n without performing any security checks to prevent a\n directory traversal. A specially crafted newsgroup message\n could cause newsgrab to drop an attachment anywhere on the\n file system using the permissions of the user running the\n script.\n", "modified": "2005-01-18T00:00:00", "published": "2005-01-18T00:00:00", "href": "https://vuxml.freebsd.org/freebsd/35f6093c-73c3-11d9-8a93-00065be4b5b6.html", "id": "35F6093C-73C3-11D9-8A93-00065BE4B5B6", "type": "freebsd", "title": "newsgrab -- directory traversal vulnerability", "cvss": {"score": 0.0, "vector": "NONE"}}], "nessus": [{"lastseen": "2021-01-07T10:41:15", "description": "The newsgrab script creates files by using the names provided in the\nnewsgroup messages in a perl open() call. This is done without\nperforming any security checks to prevent a directory traversal. A\nspecially crafted newsgroup message could cause newsgrab to drop an\nattachment anywhere on the file system using the permissions of the\nuser running the script.", "edition": 24, "published": "2005-07-13T00:00:00", "title": "FreeBSD : newsgrab -- directory traversal vulnerability (35f6093c-73c3-11d9-8a93-00065be4b5b6)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2005-0153"], "modified": "2005-07-13T00:00:00", "cpe": ["cpe:/o:freebsd:freebsd", "p-cpe:/a:freebsd:freebsd:newsgrab"], "id": "FREEBSD_PKG_35F6093C73C311D98A9300065BE4B5B6.NASL", "href": "https://www.tenable.com/plugins/nessus/18899", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2018 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(18899);\n script_version(\"1.17\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2005-0153\");\n\n script_name(english:\"FreeBSD : newsgrab -- directory traversal vulnerability (35f6093c-73c3-11d9-8a93-00065be4b5b6)\");\n script_summary(english:\"Checks for updated package in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote FreeBSD host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"The newsgrab script creates files by using the names provided in the\nnewsgroup messages in a perl open() call. This is done without\nperforming any security checks to prevent a directory traversal. A\nspecially crafted newsgroup message could cause newsgrab to drop an\nattachment anywhere on the file system using the permissions of the\nuser running the script.\"\n );\n # http://people.freebsd.org/~niels/issues/newsgrab-20050114.txt\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://people.freebsd.org/~niels/issues/newsgrab-20050114.txt\"\n );\n # http://sourceforge.net/project/shownotes.php?release_id=300562\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?114e802a\"\n );\n # https://vuxml.freebsd.org/freebsd/35f6093c-73c3-11d9-8a93-00065be4b5b6.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?3e72f831\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected package.\");\n script_set_attribute(attribute:\"risk_factor\", value:\"High\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:newsgrab\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2005/01/18\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2005/02/01\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2005/07/13\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2005-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"newsgrab<=0.4.0\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:pkg_report_get());\n else security_hole(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 0.0, "vector": "NONE"}}], "exploitdb": [{"lastseen": "2016-02-03T00:36:21", "description": "Newsgrab 0.5.0pre4 Multiple Local And Remote Vulnerabilities. CVE-2005-0153. Local exploit for linux platform", "published": "2005-02-02T00:00:00", "type": "exploitdb", "title": "Newsgrab 0.5.0pre4 - Multiple Local And Remote Vulnerabilities", "bulletinFamily": "exploit", "cvelist": ["CVE-2005-0153"], "modified": "2005-02-02T00:00:00", "id": "EDB-ID:25080", "href": "https://www.exploit-db.com/exploits/25080/", "sourceData": "source: http://www.securityfocus.com/bid/12428/info\r\n\r\nNewsgrab is reported prone to multiple vulnerabilities. The following individual issues are reported:\r\n\r\nNewsgrab is reported prone to a directory traversal vulnerability. This vulnerability exists because the software does not sufficiently sanitize directory traversal sequences from filenames before the filename is employed to store the file onto disk.\r\n\r\nA remote attacker may exploit this vulnerability by supplying a malicious file to a target victim. This vulnerability has been assigned the CVE identifier CAN-2005-0153.\r\n\r\nNewsgrab is reported prone to an unspecified insecure permissions vulnerability.\r\n\r\nA local attacker may exploit this vulnerability to disclose potentially sensitive information that is contained in files that were downloaded using newsgrab. This vulnerability has been assigned the CVE identifier CAN-2005-0154. \r\n\r\nA file containing the name '../../../../etc/rc.local' and the mode 777 could cause newsgrab to drop the file at /etc/rc.local with 777 permissions.", "cvss": {"score": 0.0, "vector": "NONE"}, "sourceHref": "https://www.exploit-db.com/download/25080/"}], "exploitpack": [{"lastseen": "2020-04-01T19:04:37", "description": "\nNewsgrab 0.5.0pre4 - Multiple LocalRemote Vulnerabilities", "edition": 1, "published": "2005-02-02T00:00:00", "title": "Newsgrab 0.5.0pre4 - Multiple LocalRemote Vulnerabilities", "type": "exploitpack", "bulletinFamily": "exploit", "cvelist": ["CVE-2005-0154", "CVE-2005-0153"], "modified": "2005-02-02T00:00:00", "id": "EXPLOITPACK:E9CAB8A1C48AB57B08C12782207E3F06", "href": "", "sourceData": "source: https://www.securityfocus.com/bid/12428/info\n\nNewsgrab is reported prone to multiple vulnerabilities. The following individual issues are reported:\n\nNewsgrab is reported prone to a directory traversal vulnerability. This vulnerability exists because the software does not sufficiently sanitize directory traversal sequences from filenames before the filename is employed to store the file onto disk.\n\nA remote attacker may exploit this vulnerability by supplying a malicious file to a target victim. This vulnerability has been assigned the CVE identifier CAN-2005-0153.\n\nNewsgrab is reported prone to an unspecified insecure permissions vulnerability.\n\nA local attacker may exploit this vulnerability to disclose potentially sensitive information that is contained in files that were downloaded using newsgrab. This vulnerability has been assigned the CVE identifier CAN-2005-0154. \n\nA file containing the name '../../../../etc/rc.local' and the mode 777 could cause newsgrab to drop the file at /etc/rc.local with 777 permissions.", "cvss": {"score": 0.0, "vector": "NONE"}}], "seebug": [{"lastseen": "2017-11-19T15:55:51", "description": "No description provided by source.", "published": "2014-07-01T00:00:00", "title": "Newsgrab 0.5.0pre4 Multiple Local And Remote Vulnerabilities", "type": "seebug", "bulletinFamily": "exploit", "cvelist": ["CVE-2005-0153", "CVE-2005-0154"], "modified": "2014-07-01T00:00:00", "href": "https://www.seebug.org/vuldb/ssvid-78747", "id": "SSV:78747", "sourceData": "\n source: http://www.securityfocus.com/bid/12428/info\r\n\r\nNewsgrab is reported prone to multiple vulnerabilities. The following individual issues are reported:\r\n\r\nNewsgrab is reported prone to a directory traversal vulnerability. This vulnerability exists because the software does not sufficiently sanitize directory traversal sequences from filenames before the filename is employed to store the file onto disk.\r\n\r\nA remote attacker may exploit this vulnerability by supplying a malicious file to a target victim. This vulnerability has been assigned the CVE identifier CAN-2005-0153.\r\n\r\nNewsgrab is reported prone to an unspecified insecure permissions vulnerability.\r\n\r\nA local attacker may exploit this vulnerability to disclose potentially sensitive information that is contained in files that were downloaded using newsgrab. This vulnerability has been assigned the CVE identifier CAN-2005-0154. \r\n\r\nA file containing the name '../../../../etc/rc.local' and the mode 777 could cause newsgrab to drop the file at /etc/rc.local with 777 permissions.\n ", "cvss": {"score": 0.0, "vector": "NONE"}, "sourceHref": "https://www.seebug.org/vuldb/ssvid-78747"}]}