CVE-2017-8229

CriticalCVSS 9.8/10Last modified Jun 17, 2026

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

CVSS 3.0 9.8/10CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jul 3, 2019
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2017

CVE-2017-82308.8On Amcrest IPM-721S V2.420.AC00.16.R.20160909 devices, the users on the device are divided into 2 groups "admin" and "user". However, as a pCVE-2017-82337.8In a camera driver function in all Android releases from CAF using the Linux kernel, a bounds check is missing when writing into an array poCVE-2017-82347.8In all Android releases from CAF using the Linux kernel, an out of bounds access can potentially occur in a camera function.CVE-2017-82355.5In all Android releases from CAF using the Linux kernel, a memory structure in a camera driver is not properly protected.CVE-2017-82367.8In all Android releases from CAF using the Linux kernel, a buffer overflow vulnerability exists in an IPA driver.CVE-2017-82377.8In all Android releases from CAF using the Linux kernel, a buffer overflow vulnerability exists while loading a firmware image.CVE-2017-82387.8In all Android releases from CAF using the Linux kernel, a buffer overflow vulnerability exists in a camera function.CVE-2017-82395.5In all Android releases from CAF using the Linux kernel, userspace-controlled parameters for flash initialization are not sanitized potentiaCVE-2017-82407.8In all Android releases from CAF using the Linux kernel, a kernel driver has an off-by-one buffer over-read vulnerability.CVE-2017-82417.8In all Android releases from CAF using the Linux kernel, a buffer overflow vulnerability exists in a WLAN function due to an incorrect messaCVE-2017-82425.9In all Android releases from CAF using the Linux kernel, a race condition exists in a QTEE driver potentially leading to an arbitrary memoryCVE-2017-82437.8A buffer overflow can occur in all Qualcomm products with Android for MSM, Firefox OS for MSM, or QRD Android when processing a firmware ima
CVE-2017-8229: Critical severity, CVSS 9.8 | Vulnix