CVE-2024-27619: Buffer Overflow

Published Mar 29, 2024
·
Updated

Dlink Dir-3040us A1 1.20b03a hotfix is vulnerable to Buffer Overflow. Any user having read/write access to ftp server can write directly to ram causing buffer overflow if file or files uploaded are greater than available ram. Ftp server allows change of directory to root which is one level up than root of usb flash directory. During upload ram is getting filled and causing system resource exhaustion (no free memory) which causes system to crash and reboot.

Affected Software

1 affected component
D-Link Dir-3040US

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Dlink Dir-3040us to a version that resolves this vulnerability.

    Fixed in 1.20b03aPatch hotfix
  2. Compensating control

    Ensure only trusted users have read/write access to the FTP server; prevent untrusted users from uploading files that could overflow memory (e.g., restrict FTP write permissions/access).

  3. Compensating control

    Restrict FTP directory traversal/permissions so FTP users cannot change directory to locations above the intended root of the USB flash directory (disallow access to the root parent directory).

Event History

Mar 29, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs read/write access to the device's FTP server. The CVSS vector indicates this is exploitable from an adjacent network and requires low privileges, with no user interaction.

2

What conditions trigger the crash?

The issue is triggered by uploading files whose total size exceeds available RAM through the FTP server. During upload, RAM exhaustion can cause the device to crash and reboot.

3

Does access to the USB flash directory restrict the affected FTP uploads?

No. The FTP server allows changing directory to the system root, which is one level above the USB flash directory root, allowing uploads outside the expected USB flash directory scope.

4

What is the impact of successful exploitation?

Successful exploitation can exhaust system memory, causing a denial of service through a crash and reboot. The supplied CVSS vector also rates integrity and availability impact as high.

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