CVE-2023-4873 in Smart S45F Multi-Service Secure Gateway Intelligent Management Platforminfo

Summary

by MITRE • 09/10/2023

A vulnerability, which was classified as critical, was found in Beijing Baichuo 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.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 06/25/2025

This critical vulnerability exists in the Beijing Baichuo Smart S45F Multi-Service Secure Gateway Intelligent Management Platform version 20230906 and earlier, representing a severe security flaw that allows remote command execution through improper input validation. The vulnerability specifically resides in the /importexport.php file where the sql argument is processed without adequate sanitization, creating a direct pathway for attackers to inject malicious operating system commands. This type of vulnerability falls under CWE-77 which specifically addresses command injection flaws, and aligns with ATT&CK technique T1059.001 for command and script injection, making it a particularly dangerous weakness in network security infrastructure.

The technical implementation of this vulnerability demonstrates a classic os command injection flaw where user-controllable input flows directly into system command execution contexts. When an attacker manipulates the sql parameter in the importexport.php endpoint, the application fails to properly validate or escape the input before using it in system calls, enabling arbitrary command execution on the underlying operating system. This allows threat actors to execute commands with the privileges of the web application user, potentially leading to complete system compromise, data exfiltration, or further lateral movement within the network. The remote attack vector eliminates the need for physical access or local network presence, making the vulnerability particularly dangerous for enterprise environments where such gateways often serve as critical network boundary devices.

The operational impact of this vulnerability extends beyond simple command execution, as it provides attackers with potential access to sensitive network infrastructure and data processing capabilities. Organizations utilizing this platform may face unauthorized access to network configurations, user credentials, and potentially sensitive operational data. The disclosure of exploit code in VDB-239358 indicates that this vulnerability is actively being exploited in the wild, increasing the urgency for remediation. Given that this is a multi-service secure gateway platform, successful exploitation could provide attackers with access to network traffic monitoring, firewall rule modifications, and other security-critical functions, effectively compromising the integrity and confidentiality of the protected network environment.

Mitigation strategies should prioritize immediate patching of the affected platform to address the input validation vulnerability in the importexport.php file. Network segmentation and firewall rules should be implemented to restrict access to the affected management interface, limiting exposure to only trusted administrative networks. Additionally, implementing web application firewalls and input validation controls can help detect and prevent malicious command injection attempts. Regular security assessments and vulnerability scanning should be conducted to identify similar issues in other network infrastructure components. Organizations should also consider implementing network monitoring solutions that can detect anomalous command execution patterns and provide alerts for potential exploitation attempts, aligning with ATT&CK framework recommendations for defensive measures against command injection attacks.

Responsible

VulDB

Reservation

09/09/2023

Disclosure

09/10/2023

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.74897

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!