CVE-2018-5371: OS Command Injection

Published Jan 12, 2018
·
Updated

diagping.cmd on D-Link DSL-2640U devices with firmware IM1.00 and ME1.00, and DSL-2540U devices with firmware ME1.00, allows authenticated remote attackers to execute arbitrary OS commands via shell metacharacters in the ipaddr field of an HTTP GET request.

Affected Software

10 affected components
D-Link Dsl-2540u Firmware=me_1.00
Dlink Dsl-2540u
D-Link Dsl-2640u Firmware=im_1.00
D-Link Dsl-2640u Firmware=me_1.00
Dlink Dsl-2640u
All of the following
D-Link Dsl-2540u Firmware=me_1.00
Dlink Dsl-2540u
All of the following
Any of the following
D-Link Dsl-2640u Firmware=im_1.00
D-Link Dsl-2640u Firmware=me_1.00
Dlink Dsl-2640u

Event History

Jan 12, 2018
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Data Sourced
via NVD·09:29 AM
DescriptionSeverityWeaknessAffected Software
Jul 17, 58461
Event
10:50 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-5371?

CVE-2018-5371 has a severity score that indicates significant risk due to its potential for remote code execution.

2

How do I fix CVE-2018-5371?

To mitigate CVE-2018-5371, update the firmware of affected D-Link DSL-2540U and DSL-2640U devices to the latest secure version.

3

Which devices are affected by CVE-2018-5371?

CVE-2018-5371 impacts D-Link DSL-2540U devices with firmware ME_1.00 and D-Link DSL-2640U devices with firmware IM_1.00 and ME_1.00.

4

Can CVE-2018-5371 be exploited remotely?

Yes, CVE-2018-5371 allows authenticated remote attackers to execute arbitrary OS commands.

5

What is the impact of CVE-2018-5371 on D-Link devices?

The impact of CVE-2018-5371 includes the potential unauthorized execution of OS commands, compromising device security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203