Cloudanix VulnDB

CVE-2023-4542

Critical · 9.8

CVSS

9.8

EPSS

84.7%

Published

Aug 25, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

A vulnerable network appliance can be remotely taken over, potentially letting attackers disrupt connectivity or use it as a doorway into the organization.

Weaponized
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Command Injection
Remediation
No Fix Yet
Effort
Other
Patch risk
Other

What it actually does

The flaw is an unauthenticated remote OS command injection in D-Link DAR-8000-10 firmware up to 20230809, associated with /app/sys1.php and the cmd parameter. Because user-controlled input is passed to the underlying operating system without adequate validation or escaping, a remote attacker can cause the appliance to execute arbitrary shell commands. With network reachability to the vulnerable web interface, exploitation requires no credentials or user interaction and can result in full compromise of the appliance, including command execution, configuration theft, traffic interception, persistence, and disruption of device availability. The supplied package metadata referencing Ubuntu Firefox fixed in 121.0+build1-0ubuntu0.20.04.1 appears inconsistent with the described D-Link appliance vulnerability and should not be treated as the appliance remediation path without independent validation.

Why it matters to the business

A vulnerable internet- or partner-facing D-Link DAR-8000-10 appliance can be taken over remotely, allowing attackers to pivot into internal networks, steal sensitive network configuration or credentials, disrupt connectivity, or add the device to botnets. The risk is elevated because exploitation is public and weaponized, the CVSS score is critical, and the EPSS probability is very high, indicating broad likelihood of exploitation in the wild even though it is not currently listed in CISA KEV. Vendor non-response increases operational risk because organizations may need to rely on isolation, compensating controls, firmware replacement, or device retirement rather than a clearly supported vendor patch.

How an attack unfolds

An attacker first identifies exposed D-Link DAR-8000-10 management interfaces, commonly through internet scanning or reconnaissance of edge network devices. They then send a crafted HTTP request to /app/sys1.php with malicious content in the cmd parameter. The vulnerable PHP code passes that value to the operating system, causing the appliance to run attacker-supplied commands. Initial probes often use benign commands such as id or uname to confirm execution, followed by commands to download tooling, enumerate the device, dump configuration, create persistence, modify firewall or routing behavior, or use the appliance as a launch point into adjacent networks. Because public exploit details exist and exploit maturity is weaponized, opportunistic scanning and automated exploitation should be assumed for any exposed vulnerable instance.

How to fix it

Treat exposed D-Link DAR-8000-10 appliances running firmware up to 20230809 as high-priority remediation targets. If a vendor firmware release that explicitly fixes this command injection is available, upgrade immediately following vendor guidance and verify the installed firmware build after reboot. If no trusted vendor fix is available, remove the device from internet exposure, restrict management access to a dedicated administrative network or VPN, enforce source-IP allowlisting, disable unused management services, place the appliance behind protective controls, and consider replacement or retirement. Review device configuration for unauthorized changes after remediation because patching does not remove persistence or attacker-created artifacts. The provided fixed-version entries for firefox on Ubuntu 20.04, fixed in 121.0+build1-0ubuntu0.20.04.1, should be applied where that separate package exposure exists, but they do not remediate the described D-Link DAR-8000-10 appliance command injection unless independently confirmed by asset and vulnerability mapping.

How to confirm the fix worked

Confirm whether any D-Link DAR-8000-10 appliances are present, determine firmware/build level, and verify that no instance is running firmware up to 20230809 without compensating controls. Validate that the management interface is not reachable from the public internet or untrusted networks. Use a safe authenticated configuration review or vendor-supported version check rather than executing arbitrary commands against production devices. Confirm web access controls block direct requests to /app/sys1.php from unauthorized sources. After remediation, repeat external attack-surface scans, internal vulnerability scans, and configuration checks. For any separate Ubuntu 20.04 Firefox finding, verify that the installed package version is 121.0+build1-0ubuntu0.20.04.1 or later using standard package inventory tooling.

Typical attack path

  1. Scan the internet or internal address ranges for D-Link DAR-8000-10 web management interfaces.
  2. Fingerprint the device and firmware version or probe for the presence of /app/sys1.php.
  3. Send an unauthenticated HTTP request that places an operating-system command in the cmd parameter.
  4. Confirm command execution through response content, timing behavior, DNS callbacks, or outbound network connections from the appliance.
  5. Run reconnaissance commands to identify privileges, network interfaces, firmware details, routes, and accessible internal systems.
  6. Download or stage additional tooling using built-in utilities such as sh, wget, curl, tftp, or busybox where available.
  7. Establish persistence or recurring access by modifying startup scripts, scheduled tasks, web files, accounts, or configuration.
  8. Use the compromised appliance for credential theft, traffic interception, proxying, lateral movement, denial of service, or botnet activity.

How to detect it

Investigate historical and current HTTP access logs for requests to /app/sys1.php, especially requests containing a cmd parameter, encoded shell metacharacters, or common command probes such as id, uname, whoami, cat, wget, curl, tftp, busybox, chmod, sh, or nc. Review reverse-proxy, WAF, firewall, VPN, and appliance management logs for unauthenticated access to the management interface from unfamiliar external IPs. If endpoint telemetry is available on or around the appliance, look for web-service processes spawning shells or command-line utilities, outbound connections immediately following web requests, or file writes to web, tmp, init, cron, or startup locations. Examine DNS and netflow logs for unusual outbound callbacks, downloads from unknown hosts, or connections to high-risk ports after requests to the vulnerable path. Review device configuration backups for unexpected admin users, modified startup commands, changed firewall/NAT rules, unauthorized VPN settings, proxy settings, or unknown scripts. Because exploitation is public and weaponized, treat even failed-looking probes as meaningful reconnaissance and correlate source IPs across other edge systems.

  • /app/sys1.php
  • GET /app/sys1.php
  • POST /app/sys1.php
  • cmd=id
  • cmd=whoami
  • cmd=uname
  • cmd=cat%20/etc/passwd
  • cmd=cat /etc/passwd
  • cmd=wget
  • cmd=curl
  • cmd=tftp
  • cmd=busybox
  • cmd=chmod
  • cmd=sh
  • cmd=/bin/sh
  • cmd=%2Fbin%2Fsh
  • uid=
  • gid=
  • ;id
  • %3Bid
  • |id
  • %7Cid
  • `id`
  • %60id%60
  • $(
  • sh -c id
  • wget http
  • curl http
  • tftp -g
  • busybox wget
  • /tmp/
  • /var/tmp/
  • /etc/passwd
  • /etc/shadow
  • VDB-238047

What your security team should do

  • Immediately inventory for D-Link DAR-8000-10 appliances and prioritize any management interface exposed to the internet or broad internal networks.
  • Assume compromise for exposed vulnerable appliances and perform forensic review before returning them to service.
  • Restrict appliance management access to trusted administrative hosts only; block public access to /app/sys1.php and related management paths.
  • Upgrade to a vendor-confirmed fixed firmware if available; otherwise isolate, replace, or retire affected appliances due to vendor non-response and weaponized public exploitation.
  • Search historical web, proxy, firewall, EDR, and DNS logs for exploitation attempts against /app/sys1.php and suspicious cmd parameter usage.
  • Review appliance configuration, user accounts, startup scripts, scheduled jobs, web files, and outbound connections for persistence or unauthorized changes.
  • Monitor for web-server child processes spawning shells or network utilities, especially sh, busybox, wget, curl, tftp, nc, telnet, or chmod.
  • Add SIEM detections for requests to /app/sys1.php containing cmd= and for command-output strings such as uid= or gid= in HTTP responses.
  • Segment edge appliances from internal management networks and restrict their ability to initiate outbound connections except to required destinations.
  • Validate vulnerability-management data quality because the supplied product/fixed-version metadata appears inconsistent with the D-Link appliance described by the vulnerability.

The record

A vulnerability was found in D-Link DAR-8000-10 up to 20230809. It has been classified as critical. This affects an unknown part of the file /app/sys1.php. The manipulation of the argument cmd with the input id leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-238047. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities