CVE-2017-8229
Last modified
CVE-2017-8229 is a vulnerability of currently unknown severity. Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices allow an unauthenticated attacker to download the administrative credentials. If the firmware version V2.420.AC00.16.R 9/9/2016 is dissected using binwalk tool, one obtains a _user-x.squashfs.img.extracted archive which contains the filesystem set up on the device that many of the binaries in the /usr folder. EPSS estimates a 73.77% chance of exploitation in the next 30 days.
Description
Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices allow an unauthenticated attacker to download the administrative credentials. If the firmware version V2.420.AC00.16.R 9/9/2016 is dissected using binwalk tool, one obtains a _user-x.squashfs.img.extracted archive which contains the filesystem set up on the device that many of the binaries in the /usr folder. The binary "sonia" is the one that has the vulnerable function that sets up the default credentials on the device. If one opens this binary in IDA-pro one will notice that this follows a ARM little endian format. The function sub_436D6 in IDA pro is identified to be setting up the configuration for the device. If one scrolls to the address 0x000437C2 then one can see that /current_config is being set as an ALIAS for /mnt/mtd/Config folder on the device. If one TELNETs into the device and navigates to /mnt/mtd/Config folder, one can observe that it contains various files such as Account1, Account2, SHAACcount1, etc. This means that if one navigates to http://[IPofcamera]/current_config/Sha1Account1 then one should be able to view the content of the files. The security researchers assumed that this was only possible only after authentication to the device. However, when unauthenticated access tests were performed for the same URL as provided above, it was observed that the device file could be downloaded without any authentication.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Amcrest | Ipm-721s Firmware | <= 2.420.ac00.16.r.20160909 |
References
- http://packetstormsecurity.com/files/153224/Amcrest-IPM-721S-Credential-Disclosure-Privilege-Escalation.htmlThird Party Advisory, VDB Entry
- https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Amcrest_sec_issues.pdfExploit, Third Party Advisory
- https://seclists.org/bugtraq/2019/Jun/8Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/153224/Amcrest-IPM-721S-Credential-Disclosure-Privilege-Escalation.htmlThird Party Advisory, VDB Entry
- https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Amcrest_sec_issues.pdfExploit, Third Party Advisory
- https://seclists.org/bugtraq/2019/Jun/8Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-8229?
How severe is CVE-2017-8229?
How do I fix CVE-2017-8229?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-8223On Wireless IP Camera (P2P) WIFICAM devices, an attacker can…
- CVE-2017-8224Wireless IP Camera (P2P) WIFICAM devices have a backdoor roo…
- CVE-2017-8225On Wireless IP Camera (P2P) WIFICAM devices, access to .ini …
- CVE-2017-8226Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices have defa…
- CVE-2017-8227Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices have a ti…
- CVE-2017-8228Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices mishandle…
- CVE-2017-8230On Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices, the u…
- CVE-2017-8232Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2017-8233In a camera driver function in all Android releases from CAF…
- CVE-2017-8234In all Android releases from CAF using the Linux kernel, an …
- CVE-2017-8235In all Android releases from CAF using the Linux kernel, a m…
- CVE-2017-8236In all Android releases from CAF using the Linux kernel, a b…
Are you affected by CVE-2017-8229?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
