Skip to content
Info disclosure Advisory Beginner CVE-2021-21816

D-LINK DIR-3040 Syslog information disclosure vulnerability

The router's system log is accessible without authentication at a predictable URL after an authenticated user exports it once. An attacker on the same network can retrieve sensitive information such as process lists and memory usage.

Dave McDaniel Follow

Originally disclosed on Cisco Talos

Medium 6.5 View original

An information disclosure vulnerability exists in the Syslog functionality of D-LINK DIR-3040 1.13B03. A specially crafted network request can lead to the disclosure of sensitive information.

Dave McDaniel, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the exported log file is stored in a web-accessible directory without any access control, allowing unauthenticated retrieval.

Impact

An attacker on the same network could obtain sensitive system information such as process lists and memory usage, which may aid further attacks.

What the attacker needed

Attacker on same network; authenticated user exports log once

The fix

The vendor patched the vulnerability, likely by restricting access to the log file.

How it was found

  1. An authenticated user exports the system log via the web interface.
  2. The log is saved to a web-accessible location.
  3. An attacker on the same network sends an HTTP request to the /messages endpoint.
  4. The attacker receives the system log without authentication.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A router keeps a log of system events. Normally only logged-in users can see it. But after an admin exports the log once, the file stays on the router and anyone on the same network can download it by visiting a special web address, without needing a password.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Dave McDaniel

View all

23 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.