PT-2017-54: Buffer Overflow in Dahua IP cameras

(PT-2017-54) Positive Technologies Security Advisory
Buffer Overflow in Dahua IP cameras

Vulnerable product

Dahua IP cameras
Firmware version: prior to V2.400.0000.14.R.20170713

Link:
http://dahuasecurity.com/

Severity level

Severity level: High
Impact: Remote Code Execution
Access Vector: Remote

CVSS v3:
Base Score: 10
Vector: (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)

CVE: CVE-2017-3223

Vulnerability description

The specialists of the Positive Research center have detected a Buffer Overflow vulnerability in Dahua IP cameras.

Vulnerability in the web interface of Sonia application (/user/bin/sonia) in Dahua IP camera products allows remote attackers to cause a denial of service (out-of-bounds memory operations) or execute arbitrary code via a specially crafted POST request.

How to fix

Update your firmware to the latest version

Advisory status

20.02.2017 - Vendor gets vulnerability details
31.05.2017 - Vulnerability details were sent to CERT
17.07.2017 - Vendor releases fixed version and details
27.12.2017 - Public disclosure

Credits

The vulnerability was detected by Ilya Smith, Positive Research Center (Positive Technologies Company)

References

http://en.securitylab.ru/lab/PT-2017-54
https://www.kb.cert.org/vuls/id/547255

Reports on the vulnerabilities previously discovered by Positive Research:

https://www.ptsecurity.com/
http://en.securitylab.ru/lab/

About Positive Technologies

Positive Technologies is a leading provider of vulnerability assessment, compliance management and threat analysis solutions to more than 1,000 global enterprise clients. Our solutions work seamlessly across your entire business: securing applications in development; assessing your network and application vulnerabilities; assuring compliance with regulatory requirements; and blocking real-time attacks. Our commitment to clients and research has earned Positive Technologies a reputation as one of the foremost authorities on SCADA, Banking, Telecom, Web Application and ERP security, and distinction as the #1 fastest growing Security and Vulnerability Management firm in 2012, as shown in an IDC report*. To learn more about Positive Technologies please visit www.ptsecurity.com

*Source: IDC Worldwide Security and Vulnerability Management 2013-2017 Forecast and 2012 Vendor Shares, doc #242465, August 2013. Based on year-over-year revenue growth in 2012 for vendors with revenues of $20M+