CVE DatabaseCVE-2015-1187
한국어 권고문 →
CVE-2015-11879.8/CRITICALCISA KEVCWE-287CWE-287

D-Link and TRENDnet Routers ping.ccp Remote Command Injection Vulnerability (CVE-2015-1187) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
d-link, trendnet
Affected Components
dir-636l, ncc-service
Published Date
2017-09-21
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
82.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Multiple D-Link (including DIR-636L) and TRENDnet devices utilizing the ncc service

Impact

Unauthenticated remote attackers can execute arbitrary OS commands with system privileges via the ping_addr parameter in ping.ccp

Mitigation

Immediately update to the latest secure firmware version and disable external WAN management access

Affected Products & Version Scope

D-Link DIR-636L and various TRENDnet routers running the vulnerable ncc service

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the latest firmware updates provided by the respective vendors. For legacy devices, manual firmware installation via the web console is required.

bash
# Example: Download the official firmware for DIR-636L (Verify your specific model before applying)
wget http://support.dlink.com/ProductInfo.aspx?m=DIR-636L -O firmware_dir636l.bin

2. Temporary Workaround & Hardening Configuration

If patching is not immediately feasible, restrict WAN-side access to the administration interface and disable remote management features.

bash
# Block external WAN access to web administration ports (e.g., 80, 443, 8080) using iptables
iptables -A INPUT -i eth0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 443 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j DROP

3. Log Audit & IoC Verification Commands

Inspect web server access logs for suspicious patterns targeting the ping.ccp endpoint with shell metacharacters.

bash
# Search for command injection patterns in the web server access logs
grep -Ei 'ping\.ccp.*ping_addr=.*(%3B|%26|%7C|;|\||&)' /var/log/lighttpd/access.log
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Isolate affected D-Link and TRENDnet devices from the public internet and upgrade to the latest secure firmware immediately.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2015-1187) exists in the ping.ccp component of the ncc (Network Configuration Center) service used by various D-Link and TRENDnet embedded devices. The root cause is the lack of proper input validation and sanitization of the ping_addr parameter within the web-based ping utility. Attackers can exploit this by appending shell metacharacters (such as ;, &, or |) to inject and execute arbitrary system commands.

2. Exploitation Mechanics & Attack Scenario

An unauthenticated attacker can send a crafted HTTP POST or GET request directly to the ping.ccp endpoint. By embedding malicious payloads (e.g., 127.0.0.1; telnetd -p 9999 -l /bin/sh) into the ping_addr parameter, the underlying system executes the command string within a shell context. This bypasses authentication entirely, allowing the attacker to spawn a reverse shell or start unauthorized services.

3. Infrastructure & Business Impact

As a CISA KEV-listed vulnerability, this flaw is actively exploited in the wild. Compromising a gateway router allows attackers to establish a persistent foothold, sniff internal network traffic, perform DNS hijacking, and pivot to other critical internal assets, posing a severe threat to enterprise infrastructure.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2015-1187)

FAQ

Q1. How critical is CVE-2015-1187 and is it actively exploited in the wild?

CVE-2015-1187 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 82.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2015-1187?

Primary impacted vendors include d-link, trendnet across dir-636l, ncc-service. Scope summary: D-Link DIR-636L and various TRENDnet routers running the vulnerable ncc service

Q3. What temporary mitigations or workarounds exist for CVE-2015-1187 before patching?

[Mitigation] Immediately update to the latest secure firmware version and disable external WAN management access Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2015-1187

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (d-link)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2015-1187 D-Link and TRENDnet Routers ping.ccp Remote Command Injection Vulnerability (CVE-2015-1187) Analysis and Mitigation Guide (CVSS 9.8) - Patch & Workaround | CVE Pulse