{"id":"CVE-2017-3223","state":"PUBLISHED","title":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow","description":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow. Dahua IP camera products include an application known as Sonia (/usr/bin/sonia) that provides the web interface and other services for controlling the IP camera remotely. Versions of Sonia included in firmware versions prior to DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621 do not validate input data length for the 'password' field of the web interface. A remote, unauthenticated attacker may submit a crafted POST request to the IP camera's Sonia web interface that may lead to out-of-bounds memory operations and loss of availability or remote code execution. The issue was originally identified by the researcher in firmware version DH_IPC-HX1X2X-Themis_EngSpnFrn_N_V2.400.0000.30.R.20160803.","publishedAt":"2018-07-24T15:00:00.000Z","updatedAt":"2024-08-05T14:16:28.415Z","severity":null,"assigner":"certcc","products":["Dahua IP Camera"],"affected":[{"vendor":"Dahua","product":"IP Camera","versions":[{"version":"DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621","status":"affected","lessThan":"DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621","versionType":"custom"}]}],"references":["https://www.kb.cert.org/vuls/id/547255","http://www.securityfocus.com/bid/99620"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T19:43:42.704Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/3xxx/CVE-2017-3223.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-3223","state":"PUBLISHED","datePublished":"2018-07-24T15:00:00.000Z","dateUpdated":"2024-08-05T14:16:28.415Z","assignerShortName":"certcc","assignerOrgId":"37e5125f-f79b-445b-8fad-9564f167944b","dateReserved":"2016-12-05T00:00:00.000Z"},"containers":{"cna":{"title":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow","descriptions":[{"lang":"en","value":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow. Dahua IP camera products include an application known as Sonia (/usr/bin/sonia) that provides the web interface and other services for controlling the IP camera remotely. Versions of Sonia included in firmware versions prior to DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621 do not validate input data length for the 'password' field of the web interface. A remote, unauthenticated attacker may submit a crafted POST request to the IP camera's Sonia web interface that may lead to out-of-bounds memory operations and loss of availability or remote code execution. The issue was originally identified by the researcher in firmware version DH_IPC-HX1X2X-Themis_EngSpnFrn_N_V2.400.0000.30.R.20160803."}],"affected":[{"vendor":"Dahua","product":"IP Camera","versions":[{"version":"DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621","status":"affected","lessThan":"DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621","versionType":"custom"}]}],"references":[{"url":"https://www.kb.cert.org/vuls/id/547255","name":"VU#547255","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/bid/99620","name":"99620","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"certcc","dateUpdated":"2018-07-25T09:57:01.000Z","orgId":"37e5125f-f79b-445b-8fad-9564f167944b"},"credits":[{"lang":"en","value":"Thanks to Ilya Smith of Positive Technologies for reporting this vulnerability."}],"datePublic":"2017-07-18T00:00:00.000Z","solutions":[{"lang":"en","value":"Dahua has released firmware version DH_IPC-ACK-Themis_Eng_P_V2.400.0000.14.R.20170713.bin to address this issue"}],"source":{"discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cert@cert.org","ID":"CVE-2017-3223","STATE":"PUBLIC","TITLE":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"IP Camera","version":{"version_data":[{"affected":"<","version_affected":"<","version_name":"DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621","version_value":"DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621"}]}}]},"vendor_name":"Dahua"}]}},"credit":[{"lang":"eng","value":"Thanks to Ilya Smith of Positive Technologies for reporting this vulnerability."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow. Dahua IP camera products include an application known as Sonia (/usr/bin/sonia) that provides the web interface and other services for controlling the IP camera remotely. Versions of Sonia included in firmware versions prior to DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621 do not validate input data length for the 'password' field of the web interface. A remote, unauthenticated attacker may submit a crafted POST request to the IP camera's Sonia web interface that may lead to out-of-bounds memory operations and loss of availability or remote code execution. The issue was originally identified by the researcher in firmware version DH_IPC-HX1X2X-Themis_EngSpnFrn_N_V2.400.0000.30.R.20160803."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121"}]}]},"references":{"reference_data":[{"name":"VU#547255","refsource":"CERT-VN","url":"https://www.kb.cert.org/vuls/id/547255"},{"name":"99620","refsource":"BID","url":"http://www.securityfocus.com/bid/99620"}]},"solution":[{"lang":"en","value":"Dahua has released firmware version DH_IPC-ACK-Themis_Eng_P_V2.400.0000.14.R.20170713.bin to address this issue"}],"source":{"discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.kb.cert.org/vuls/id/547255","name":"VU#547255","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/99620","name":"99620","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T14:16:28.415Z"}}]}}}