CWE
119 120
Advisory Published
Updated

CVE-2024-54887: Buffer Overflow

First published: Thu Jan 09 2025(Updated: )

TP-Link TL-WR940N V3 and V4 with firmware 3.16.9 and earlier contain a buffer overflow via the dnsserver1 and dnsserver2 parameters at /userRpm/Wan6to4TunnelCfgRpm.htm. This vulnerability allows an authenticated attacker to execute arbitrary code on the remote device in the context of the root user.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
TP-Link TL-WR940N V2 Firmware<=3.16.9
TP-Link TL-WR940N V4 Firmware<=3.16.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-54887?

    CVE-2024-54887 is classified as a high severity vulnerability due to its potential to allow arbitrary code execution.

  • How do I fix CVE-2024-54887?

    To fix CVE-2024-54887, update the firmware of TP-Link TL-WR940N and TL-WR940N V4 devices to the latest version beyond 3.16.9.

  • What systems are affected by CVE-2024-54887?

    CVE-2024-54887 affects TP-Link TL-WR940N V3 and V4 routers with firmware version 3.16.9 and earlier.

  • What attack vector is used in CVE-2024-54887?

    CVE-2024-54887 can be exploited via a buffer overflow through the dnsserver1 and dnsserver2 parameters at the specified URL.

  • Who can exploit CVE-2024-54887?

    An authenticated attacker can exploit CVE-2024-54887 to execute arbitrary code on the vulnerable device.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203