CVE-2023-4873
Critical · 9.8CVSS
9.8
EPSS
22.1%
Published
Sep 10, 2023
CISA due date
—
Cloudanix analysis
Attackers can remotely take control of an affected gateway device if its management interface is reachable, putting network security and connectivity at risk.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
This is an unauthenticated remote OS command injection vulnerability in the Byzoro Smart S45F Multi-Service Secure Gateway Intelligent Management Platform, affecting the /importexport.php endpoint. Manipulation of the sql argument can cause attacker-supplied input to be interpreted as operating system commands rather than handled as data. Because the device is a security gateway and the CVSS vector indicates network reachability, low attack complexity, no required privileges, and no user interaction, successful exploitation can give an attacker full confidentiality, integrity, and availability impact on the appliance and potentially a foothold into protected networks.
Why it matters to the business
A compromised secure gateway can expose internal traffic, credentials, configuration data, VPN or routing information, and security policy details while also allowing attackers to disrupt connectivity or use the device as a launch point for further intrusion. The vulnerability has public exploit availability and a high EPSS score, meaning internet-exposed systems should be treated as high-priority because opportunistic scanning and exploitation are likely. No fixed version was provided in the input, so affected organizations may need to rely on vendor guidance, isolation, access restrictions, or device replacement if a patched firmware is unavailable.
How an attack unfolds
An attacker first identifies a Byzoro Smart S45F management interface reachable over the network. They then send a crafted request to /importexport.php containing malicious shell syntax in the sql parameter. If the platform passes this value into an operating system command without proper validation or escaping, the injected command executes with the privileges of the web service or management process. The attacker can use this initial execution to run reconnaissance commands, retrieve configuration files, create persistence, download additional tooling, proxy traffic through the gateway, alter firewall or routing behavior, or disrupt the device. Because exploit details are public and the vulnerability requires no authentication, exploitation can be automated at scale against exposed management interfaces.
How to fix it
Upgrade the Byzoro Smart S45F firmware or Intelligent Management Platform to a vendor-provided fixed release as soon as one is available. The input did not include a known fixed version, so administrators should check official Byzoro advisories, firmware downloads, and support channels for patched builds or mitigation instructions. Until a verified fix is installed, remove the management interface from internet exposure, restrict access to trusted administrative IP addresses, place the interface behind a VPN or bastion host, and block direct access to /importexport.php where feasible. If the device cannot be patched, consider replacing it or isolating it from sensitive networks. Rotate credentials and secrets stored on or passing through the gateway after remediation if compromise is suspected. Review and harden firewall, routing, VPN, and administrative access configurations after applying fixes.
How to confirm the fix worked
Confirm the running firmware or management platform version against the vendor’s latest advisory or fixed release information. Verify that /importexport.php is no longer reachable from untrusted networks and that management access is restricted to approved administrative paths. Conduct a controlled validation test using benign command-injection probes only in an authorized manner; a fixed system should not execute injected shell metacharacters in the sql parameter and should reject, sanitize, or safely handle unexpected input. Review web server and application logs for historical access to /importexport.php, especially requests containing shell metacharacters, command names, encoded payloads, or outbound callback indicators. Validate that no unexpected users, startup scripts, modified configuration files, cron jobs, web shells, reverse shell processes, or unauthorized policy changes remain on the appliance.
Typical attack path
- Scan the internet or internal address ranges for Byzoro Smart S45F management interfaces.
- Probe for the /importexport.php endpoint and determine whether it is reachable without authentication.
- Send a crafted request with command separators or shell syntax in the sql parameter.
- Confirm command execution using low-impact commands such as id, whoami, uname, ping, nslookup, or curl callbacks.
- Enumerate device configuration, users, network interfaces, routes, VPN settings, and accessible internal systems.
- Deploy a web shell, reverse shell, proxy, or persistence mechanism if write permissions and outbound connectivity allow it.
- Use the gateway position to intercept traffic, pivot to internal systems, modify security policy, or cause service disruption.
- Clean up obvious artifacts or blend activity into normal administrative traffic.
How to detect it
Review HTTP access logs, reverse proxy logs, appliance management logs, firewall logs, and network telemetry for requests to /importexport.php containing the sql parameter. Focus on signs of command injection such as semicolons, pipes, backticks, $(), URL-encoded shell metacharacters, and common command utilities. Look for requests followed by outbound connections from the gateway to unfamiliar IPs or domains, especially DNS lookups, curl/wget downloads, ICMP pings, reverse shells, or connections to high-risk ports. Examine system logs and process listings for commands spawned by the web server or management service, unexpected child processes such as sh, bash, busybox, wget, curl, nc, telnet, python, or perl, and unexplained file creation in web, temporary, or startup directories. Review configuration change logs for unauthorized changes to users, firewall rules, VPN profiles, routes, DNS servers, logging destinations, and administrative access settings. If packet capture or NetFlow is available, correlate suspicious inbound requests to /importexport.php with immediate outbound callbacks from the appliance. Because public exploit code exists, also search for automated scanning patterns and repeated malformed requests from many source addresses.
- /importexport.php
- sql=
- /importexport.php?sql=
- POST /importexport.php
- GET /importexport.php
- sql=%3B
- sql=;
- sql=%7C
- sql=|
- sql=%60
- sql=`
- sql=%24%28
- sql=$(
- sql=%26%26
- sql=&&
- sql=%7C%7C
- sql=||
- /bin/sh
- /bin/bash
- busybox
- wget
- curl
- nc
- netcat
- telnet
- python -c
- perl -e
- bash -i
- sh -i
- /dev/tcp/
- /tmp/
- /var/tmp/
- whoami
- uname -a
- id;
- ping -c
- nslookup
- chmod +x
What your security team should do
- Immediately inventory Byzoro Smart S45F devices and determine whether their management interfaces are exposed to the internet or broad internal networks.
- Prioritize remediation for any exposed device because the flaw is unauthenticated, critical severity, publicly exploitable, and has a high EPSS likelihood of exploitation.
- Apply vendor firmware updates or official mitigations when available; if no fix is available, restrict access, block the vulnerable endpoint, or remove the device from service.
- Hunt historical logs for suspicious requests to /importexport.php using the sql parameter, especially those containing shell metacharacters, encoded commands, or network callback utilities.
- Review appliance configuration for unauthorized changes to firewall rules, routes, VPN settings, administrative accounts, DNS settings, and logging behavior.
- Inspect the device for persistence mechanisms such as new web files, cron entries, startup scripts, unexpected binaries, or reverse shell processes.
- Rotate administrative credentials, VPN secrets, API keys, and other sensitive material stored on the gateway if exploitation cannot be ruled out.
- Monitor outbound traffic from the gateway for unusual DNS, HTTP, HTTPS, ICMP, SSH, Telnet, or reverse-shell connections to unfamiliar external hosts.
- Place security gateway management interfaces behind strong network controls, MFA-protected administrative access, and centralized logging going forward.
The record
A vulnerability, which was classified as critical, was found in Byzoro Smart S45F Multi-Service Secure Gateway Intelligent Management Platform up to 20230906. Affected is an unknown function of the file /importexport.php. The manipulation of the argument sql leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-239358 is the identifier assigned to this vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-96376 Improper Neutralization of Special Elements used in an OS Command ("OS Command… CWE-78
- CVE-2026-113732 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113776 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113726 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113725 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113722 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-112943 launch-editor allows users to open files with line numbers in editor from Node.js. CWE-78
- CVE-2026-112900 Pillow is a Python imaging library. CWE-78