SecurityContext

CVE-2017-8230: Amcrest IPM-721S - Authorization Bypass

  • Cve: CVE-2017-8230
  • Name: Amcrest IPM-721S - Authorization Bypass
  • Description: On 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 part of security analysis it was identified that a low privileged user who belongs to the "user" group and who has access to login in to the web administrative interface of the device can add a new administrative user to the interface using HTTP APIs provided by the device and perform all the actions as an administrative user by using that account. 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 functions that performs the various action described in HTTP APIs. If one opens this binary in IDA-pro one will notice that this follows a ARM little endian format. The function at address 0x00429084 in IDA pro is the one that processes the HTTP API request for "addUser" action. If one traces the calls to this function, it can be clearly seen that the function sub_ 41F38C at address 0x0041F588 parses the call received from the browser and passes it to the "addUser" function without any authorization check.
  • Impact: Low-privileged users can escalate privileges to admin, gaining full control over the device.
  • Remediation: Implement proper access control checks in the 'addUser' API and update firmware if available.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01631
  • Epss percentile: 0.76873
  • Assignee: [email protected]
  • Published at: 2019-07-03T20:15:10Z
  • Age in days: 2701
  • Modified at: 2026-06-17T01:26:00Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-8230
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-264—

Public exploits

UrlSourceAdded date
https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Amcrest_sec_issues.pdfnvd2019-07-03

References

UrlSourceTags
https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Amcrest_sec_issues.pdfnvdExploit, Third Party Advisory
http://packetstormsecurity.com/files/153224/Amcrest-IPM-721S-Credential-Disclosure-Privilege-Escalation.htmlnvdThird Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
amcrest:ipm-721s_firmware<= 2.420.ac00.16.r.20160909yesnvd/v1/products/amcrest/ipm-721s_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2019-07-03
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 1784
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports