CVE-2017-8835 SQL injection in n/a

Critical 9.8 Published Updated

SQL injection in Peplink Balance routers allows attackers to enumerate user accounts via the bauth cookie, requiring a firmware upgrade to fix.

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

What is CVE-2017-8835?

CVE-2017-8835 is a critical SQL injection vulnerability in n/a, published on 5 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL injection exists on Peplink Balance 305, 380, 580, 710, 1350, and 2500 devices with firmware before fw-b305hw2_380hw6_580hw2_710hw3_1350hw2_2500-7.0.1-build2093. An attack vector is the bauth cookie to cgi-bin/MANGA/admin.cgi. One impact is enumeration of user accounts by observing whether a session ID can be retrieved from the sessions database.

Weakness: CWE-89

Which versions are affected by CVE-2017-8835?

It affects 6 products.

Products include Peplink 1350hw2 Firmware, Peplink 2500 Firmware, Peplink 380hw6 Firmware, Peplink 580hw2 Firmware, Peplink 710hw3 Firmware, Peplink B305hw2 Firmware.

How do I fix CVE-2017-8835?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2017-8835 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-8835 exists.

Public exploit code: 1 Metasploit module and 3 Exploit-DB entries.

Sources

Also known as GHSA-cwh4-2qh3-3jxc.

Is CVE-2017-8835 in your software?

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

Check your SBOMs for free