ID

VAR-201310-0389


CVE

CVE-2013-6027


TITLE

D-Link routers authenticate administrative access using specific User-Agent string

Trust: 0.8

sources: CERT/CC: VU#248083

DESCRIPTION

Stack-based buffer overflow in the RuntimeDiagnosticPing function in /bin/webs on D-Link DIR-100 routers might allow remote authenticated administrators to execute arbitrary commands via a long set/runtime/diagnostic/pingIp parameter to Tools/tools_misc.xgi. Various D-Link routers allow administrative web actions if the HTTP request contains a specific User-Agent string. This backdoor allows an attacker to bypass password authentication and access the router's administrative web interface. Planex and Alpha Networks devices may also be affected. The D-Link DIR-100 routers are router devices. Triggers the vulnerability to crash the web interface. Multiple Vendors are prone to a stack-based buffer-overflow vulnerability. Exploiting this vulnerability may allow attackers to execute arbitrary code in the context of the affected devices. The following are vulnerable: D-Link DIR-120 D-Link DI-624S D-Link DI-524UP D-Link DI-604S D-Link DI-604UP D-Link DI-604 D-Link DIR-100 D-Link TM-G5240 PLANEX COMMUNICATIONS BRL-04UR PLANEX COMMUNICATIONS BRL-04R PLANEX COMMUNICATIONS BRL-04CW. The vulnerability is caused by the script's lack of sufficient filtering of the parameters submitted by the user

Trust: 3.24

sources: NVD: CVE-2013-6027 // CERT/CC: VU#248083 // JVNDB: JVNDB-2013-004824 // CNVD: CNVD-2013-13957 // BID: 63234 // VULHUB: VHN-66029

IOT TAXONOMY

category:['IoT', 'Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2013-13957

AFFECTED PRODUCTS

vendor:dlinkmodel:dir-100scope:eqversion: -

Trust: 1.0

vendor:d linkmodel: - scope: - version: -

Trust: 0.8

vendor:d linkmodel:dir-100scope: - version: -

Trust: 0.8

vendor:d linkmodel:dir-100 routersscope: - version: -

Trust: 0.6

vendor:d linkmodel:dir-100scope:eqversion: -

Trust: 0.6

vendor:d linkmodel:di-524scope:eqversion:0

Trust: 0.3

sources: CERT/CC: VU#248083 // CNVD: CNVD-2013-13957 // BID: 63234 // JVNDB: JVNDB-2013-004824 // CNNVD: CNNVD-201310-478 // NVD: CVE-2013-6027

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2013-6027
value: HIGH

Trust: 1.0

NVD: CVE-2013-6027
value: HIGH

Trust: 0.8

CNVD: CNVD-2013-13957
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201310-478
value: CRITICAL

Trust: 0.6

VULHUB: VHN-66029
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2013-6027
severity: HIGH
baseScore: 8.5
vectorString: AV:N/AC:M/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 6.8
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2013-13957
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

VULHUB: VHN-66029
severity: HIGH
baseScore: 8.5
vectorString: AV:N/AC:M/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 6.8
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

sources: CNVD: CNVD-2013-13957 // VULHUB: VHN-66029 // JVNDB: JVNDB-2013-004824 // CNNVD: CNNVD-201310-478 // NVD: CVE-2013-6027

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.9

sources: VULHUB: VHN-66029 // JVNDB: JVNDB-2013-004824 // NVD: CVE-2013-6027

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201310-478

TYPE

buffer error

Trust: 0.6

sources: CNNVD: CNNVD-201310-478

CONFIGURATIONS

sources: JVNDB: JVNDB-2013-004824

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-66029

PATCH

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

Trust: 0.8

title:D-Link DIR-100 router ‘RuntimeDiagnosticPing’ Fixing measures for stack-based buffer error vulnerabilitiesurl:http://123.124.177.30/web/xxk/bdxqById.tag?id=234983

Trust: 0.6

sources: JVNDB: JVNDB-2013-004824 // CNNVD: CNNVD-201310-478

EXTERNAL IDS

db:CERT/CCid:VU#248083

Trust: 3.9

db:NVDid:CVE-2013-6027

Trust: 3.4

db:BIDid:63234

Trust: 1.0

db:JVNDBid:JVNDB-2013-004824

Trust: 0.8

db:CNNVDid:CNNVD-201310-478

Trust: 0.7

db:CNVDid:CNVD-2013-13957

Trust: 0.6

db:EXPLOIT-DBid:38810

Trust: 0.1

db:VULHUBid:VHN-66029

Trust: 0.1

sources: CERT/CC: VU#248083 // CNVD: CNVD-2013-13957 // VULHUB: VHN-66029 // BID: 63234 // JVNDB: JVNDB-2013-004824 // CNNVD: CNNVD-201310-478 // NVD: CVE-2013-6027

REFERENCES

url:http://www.kb.cert.org/vuls/id/248083

Trust: 3.1

url:http://pastebin.com/raw.php?i=vbig42vd

Trust: 2.3

url:http://www.devttys0.com/2013/10/reverse-engineering-a-d-link-backdoor/

Trust: 0.8

url:http://www.theregister.co.uk/2013/10/13/dlink_routers_have_admin_backdoor/

Trust: 0.8

url:http://www.dlink.com/uk/en/support/security

Trust: 0.8

url:http://blog.erratasec.com/2013/10/that-dlink-bug-masscan.html

Trust: 0.8

url:http://pastebin.com/vbig42vd

Trust: 0.8

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

Trust: 0.8

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

Trust: 0.8

url:http://www.dlink.com/

Trust: 0.3

sources: CERT/CC: VU#248083 // CNVD: CNVD-2013-13957 // VULHUB: VHN-66029 // BID: 63234 // JVNDB: JVNDB-2013-004824 // CNNVD: CNNVD-201310-478 // NVD: CVE-2013-6027

CREDITS

Craig Heffner of /DEV/TTYS0

Trust: 0.3

sources: BID: 63234

SOURCES

db:CERT/CCid:VU#248083
db:CNVDid:CNVD-2013-13957
db:VULHUBid:VHN-66029
db:BIDid:63234
db:JVNDBid:JVNDB-2013-004824
db:CNNVDid:CNNVD-201310-478
db:NVDid:CVE-2013-6027

LAST UPDATE DATE

2024-11-23T22:18:43.935000+00:00


SOURCES UPDATE DATE

db:CERT/CCid:VU#248083date:2014-07-29T00:00:00
db:CNVDid:CNVD-2013-13957date:2013-10-24T00:00:00
db:VULHUBid:VHN-66029date:2013-10-21T00:00:00
db:BIDid:63234date:2013-12-10T00:56:00
db:JVNDBid:JVNDB-2013-004824date:2013-10-22T00:00:00
db:CNNVDid:CNNVD-201310-478date:2023-04-27T00:00:00
db:NVDid:CVE-2013-6027date:2024-11-21T01:58:38.873

SOURCES RELEASE DATE

db:CERT/CCid:VU#248083date:2013-10-17T00:00:00
db:CNVDid:CNVD-2013-13957date:2013-10-24T00:00:00
db:VULHUBid:VHN-66029date:2013-10-19T00:00:00
db:BIDid:63234date:2013-10-14T00:00:00
db:JVNDBid:JVNDB-2013-004824date:2013-10-22T00:00:00
db:CNNVDid:CNNVD-201310-478date:2013-10-21T00:00:00
db:NVDid:CVE-2013-6027date:2013-10-19T10:36:09.180