CVE-2017-8230 Privilege escalation in n/a

High 8.8 Published Updated

Low-privileged users can create admin accounts via HTTP APIs due to missing authorization checks, allowing full device control.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-8230?

CVE-2017-8230 is a high-severity vulnerability in n/a, published on 3 Jul 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-264

Which versions are affected by CVE-2017-8230?

It affects 1 product.

Products include Amcrest Ipm-721s Firmware.

How do I fix CVE-2017-8230?

No fix has been published for CVE-2017-8230 yet. Limit exposure of the affected software until one is available.

Is CVE-2017-8230 being exploited?

There is no known exploitation of CVE-2017-8230 in the wild and no public exploit code.

Sources

Also known as GHSA-9j3g-g39v-6mhg.

Is CVE-2017-8230 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free