Cloudanix VulnDB

CVE-2023-4120

Critical · 9.8

CVSS

9.8

EPSS

62.3%

Published

Aug 3, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

An exposed management device can be taken over remotely, so affected systems should be isolated or replaced if no vendor fix is available.

Exploit Available
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

CVE-2023-4120 is an unauthenticated remote command injection vulnerability in the Byzoro Smart S85F Management Platform, affecting processing in importhtml.php. The vulnerable sql parameter is insufficiently sanitized before being passed into command execution or command-like backend processing, allowing a remote attacker to inject operating system commands. With network access to the management interface, exploitation can provide full compromise of the appliance, including command execution with the privileges of the web service or underlying management process, data access, configuration modification, persistence, lateral movement staging, and denial of service.

Why it matters to the business

Successful exploitation can allow an external attacker to take control of the affected management platform without credentials, potentially disrupting network management, exposing sensitive configuration data, and using the appliance as a foothold into adjacent systems. The CVSS score is critical, public exploit information is available, and the EPSS score is high, meaning organizations running exposed Byzoro Smart S85F devices should treat this as an urgent remediation item even though it is not currently listed in CISA KEV. Because no fixed version is available in the provided data and the vendor reportedly did not respond to disclosure, risk reduction may require isolation, disabling exposure, or replacement rather than routine patching.

How an attack unfolds

An attacker first identifies an internet-facing or otherwise reachable Byzoro Smart S85F Management Platform. They then send a crafted HTTP request to importhtml.php containing malicious shell syntax in the sql parameter. If the application passes this value into an operating system command or unsafe backend interpreter, the injected command executes on the appliance. The attacker may begin with a harmless command such as id, whoami, uname, or ping to verify execution, then escalate to downloading tooling, opening a reverse shell, modifying device configuration, creating persistence, collecting credentials or configuration files, and using the compromised management device to pivot deeper into the network. Public exploit availability lowers the skill required and increases the likelihood of opportunistic scanning and automated exploitation.

How to fix it

No fixed version is provided for the affected Byzoro Smart S85F Management Platform releases up to 20230722. If a vendor-supported patched release becomes available, upgrade immediately and verify that importhtml.php no longer accepts injectable input in the sql parameter. Until a confirmed fix is available, remove the management interface from the internet and all untrusted networks, restrict access to a dedicated management network or VPN, enforce source-IP allowlisting at firewalls or reverse proxies, disable or block access to importhtml.php if operationally feasible, and monitor for exploit attempts. If the device is business-critical and cannot be patched or adequately isolated, consider replacement with a supported product. After suspected exposure, treat the appliance as potentially compromised: preserve forensic evidence, rotate credentials managed by or stored on the platform, review configuration integrity, and rebuild or replace the device from trusted media where possible.

How to confirm the fix worked

Confirm whether any Byzoro Smart S85F Management Platform instances are running versions up to 20230722 and whether their web management interface is reachable from untrusted networks. Validate mitigation by confirming that direct HTTP access to /importhtml.php is blocked except from approved management sources, and that requests containing the sql parameter with shell metacharacters are rejected, sanitized, or fail harmlessly without command execution. If patching becomes available, verify the installed firmware/software version against the vendor advisory and perform a controlled negative test using benign payloads such as command separators followed by harmless commands, ensuring no command output, timing delay, or outbound callback occurs. Also validate firewall rules, VPN-only access, management-plane segmentation, and SIEM alerting for exploit-like requests.

Typical attack path

  1. Scan for exposed Byzoro Smart S85F Management Platform web interfaces.
  2. Confirm reachability of the vulnerable importhtml.php endpoint.
  3. Send a crafted request where the sql parameter contains shell metacharacters or command-substitution syntax.
  4. Verify command execution through HTTP response content, timing behavior, outbound DNS/HTTP callbacks, or ICMP/ping callbacks.
  5. Execute reconnaissance commands on the appliance such as whoami, id, uname, ip/ifconfig, ps, and netstat.
  6. Download or stage additional payloads using wget, curl, tftp, busybox, or similar utilities if present.
  7. Establish persistence or remote access through a web shell, reverse shell, startup script, cron entry, or modified appliance configuration.
  8. Collect sensitive configuration, credentials, routing details, VPN details, or management data.
  9. Use the compromised appliance as a pivot point for internal reconnaissance, credential attacks, traffic interception, or further exploitation.

How to detect it

Review HTTP access logs, reverse proxy logs, WAF logs, packet captures, and appliance system logs for requests to /importhtml.php with a sql parameter containing command-injection syntax. Focus on shell metacharacters such as semicolons, pipes, backticks, dollar-parentheses command substitution, URL-encoded equivalents, newline injection, and common Linux command probes. Look for attacker validation commands including id, whoami, uname, ping, nslookup, curl, wget, busybox, cat /etc/passwd, and sleep. Correlate suspicious web requests with outbound connections from the appliance shortly afterward, especially DNS lookups, HTTP downloads, reverse-shell connections, ICMP traffic, or connections to uncommon ports. On the appliance, if shell or filesystem access is available, inspect web directories, temporary directories, startup scripts, cron entries, running processes, and recently modified files for web shells, downloaders, persistence, or unauthorized configuration changes. Because exploit code is public, expect automated scanning; a single blocked probe does not prove compromise, but command execution indicators, outbound callbacks, new files, or process execution following a malicious request should be treated as potential compromise.

  • /importhtml.php
  • importhtml.php?sql=
  • POST /importhtml.php
  • GET /importhtml.php
  • sql=%3B
  • sql=;
  • sql=%7C
  • sql=|
  • sql=%60
  • sql=`
  • sql=%24%28
  • sql=$(
  • sql=%26%26
  • sql=&&
  • sql=%0A
  • sql=%0D
  • sql=*whoami*
  • sql=*id*
  • sql=*uname*
  • sql=*ping*
  • sql=*nslookup*
  • sql=*curl*
  • sql=*wget*
  • sql=*busybox*
  • sql=*tftp*
  • sql=*nc*
  • sql=*netcat*
  • sql=*bash*
  • sql=*sh*
  • sql=*cat%20/etc/passwd*
  • sql=*sleep*
  • /etc/passwd
  • /tmp/
  • /var/tmp/
  • /dev/shm/
  • /etc/crontab
  • /var/spool/cron
  • wget http
  • curl http
  • busybox wget
  • nc -e
  • bash -i
  • /bin/sh -i

What your security team should do

  • Immediately inventory all Byzoro Smart S85F Management Platform deployments and identify any versions up to 20230722.
  • Treat internet-exposed instances as high priority due to critical severity, public exploit availability, and high EPSS probability.
  • Remove public exposure of the management interface and restrict access to trusted management networks or VPNs only.
  • Block or tightly control access to /importhtml.php at a firewall, WAF, or reverse proxy if the endpoint is not required.
  • If no vendor patch is available, plan compensating controls, device isolation, or product replacement.
  • Review web access logs for requests to importhtml.php containing sql parameters, URL-encoded shell metacharacters, command separators, or download-and-execute patterns.
  • Hunt for evidence of post-exploitation commands, reverse shells, unexpected outbound connections, new files in web-accessible directories, modified startup scripts, cron jobs, and unauthorized configuration changes.
  • Rotate credentials, API keys, VPN secrets, SNMP communities, and administrative passwords that may have been stored on or managed by the appliance if compromise is suspected.
  • Monitor for outbound traffic from the appliance to unusual external IPs, dynamic DNS domains, paste sites, file-sharing hosts, or command-and-control infrastructure.
  • Escalate incident response for any confirmed command execution because appliance compromise may provide a foothold for broader network intrusion.

The record

A vulnerability was found in Byzoro Smart S85F Management Platform up to 20230722 and classified as critical. This issue affects some unknown processing of the file importhtml.php. The manipulation of the argument sql leads to command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-235967. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities