Cloudanix VulnDB

CVE-2022-32429

Critical · 9.8

CVSS

9.8

EPSS

75.6%

Published

Aug 10, 2022

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

Attackers can take control of vulnerable network power-switch devices remotely if their management interface is exposed.

Weaponized
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The vulnerability is an unauthenticated authentication bypass in the MSNSwitch web management interface, specifically the /cgi-bin-sdb/ExportSettings.sh component. A remote attacker can reach this CGI endpoint over the network without valid credentials and use it to change device/application settings. Because those settings can influence command execution or runtime behavior, the flaw can be escalated to remote code execution with the privileges of the device web service or underlying firmware components. The CVSS 9.8 rating reflects network reachability, low attack complexity, no required credentials, no user interaction, and potential full compromise of confidentiality, integrity, and availability.

Why it matters to the business

Successful exploitation can give an attacker control of affected MSNSwitch devices, allowing them to alter switching or power-control behavior, disrupt connected equipment, pivot deeper into networks, deploy persistence, or use the device as part of a botnet. Because exploitation is described as weaponized and the EPSS score is high, internet-exposed management interfaces should be treated as urgent even though this vulnerability is not currently listed in CISA KEV. Organizations using Mega System Technologies MSNSwitch firmware should assume exposed devices are high-risk until access is restricted, firmware status is verified, and evidence of compromise is reviewed.

How an attack unfolds

An attacker first scans for exposed MSNSwitch web management interfaces, commonly by identifying reachable HTTP services and probing known CGI paths. The attacker then sends unauthenticated requests to /cgi-bin-sdb/ExportSettings.sh. Due to the authentication bypass, the endpoint accepts the request without requiring a valid session. The attacker abuses the settings export/configuration behavior to modify device settings or inject attacker-controlled values that are later interpreted by the firmware or shell scripts. If command injection or unsafe configuration handling is reachable through those settings, the attacker can execute commands on the device, establish persistence, retrieve sensitive configuration, alter operational settings, or use the device for further attacks against internal systems.

How to fix it

Apply vendor-provided firmware updates or security patches if available for the affected Mega System Technologies MSNSwitch firmware and MSNSwitch MNT.2408 product line. No fixed version information was provided, so administrators should consult the vendor directly, verify the latest available firmware, and document whether the device model is still supported. If a patch is unavailable, remove the management interface from internet exposure, restrict access to a dedicated management network or VPN, enforce network ACLs that allow only trusted administrative IP addresses, and block unauthenticated access to /cgi-bin-sdb/ExportSettings.sh at an upstream reverse proxy, firewall, or web application filtering layer where feasible. Change device administrative credentials and review configuration integrity after remediation, especially if the device was externally reachable. If the device cannot be patched or effectively isolated, plan replacement with a supported product.

How to confirm the fix worked

Confirm whether the affected device exposes an HTTP management interface and whether /cgi-bin-sdb/ExportSettings.sh is reachable without authentication. After remediation, unauthenticated requests to that path should be denied, redirected to authentication, blocked by network policy, or return an error that does not process settings. Validate that management access is limited to approved administrative networks and not reachable from the public internet. Verify firmware version and build information against the vendor’s latest release notes. Review current device configuration for unauthorized changes, unexpected startup tasks, unusual DNS/NTP/syslog destinations, suspicious user accounts if supported, and any changes to network, switching, or power-control settings.

Typical attack path

  1. Identify MSNSwitch devices through internet scanning, asset discovery, banner inspection, or known management interface paths.
  2. Probe the web interface for /cgi-bin-sdb/ExportSettings.sh and confirm the endpoint is reachable without authentication.
  3. Submit crafted unauthenticated HTTP requests to manipulate or export configuration settings.
  4. Abuse unsafe configuration handling to trigger command execution or change privileged device behavior.
  5. Run reconnaissance commands on the device and inspect network configuration, credentials, or reachable internal systems.
  6. Deploy persistence, modify device settings, exfiltrate configuration data, disrupt device operations, or use the compromised device as a pivot point.

How to detect it

To determine whether exploitation already occurred, review web server or embedded HTTP access logs from the device, upstream reverse proxy logs, firewall logs, VPN logs, NetFlow, DNS telemetry, and IDS/IPS alerts for requests to /cgi-bin-sdb/ExportSettings.sh. Focus on unauthenticated requests, requests from external or untrusted IP addresses, repeated probing of CGI paths, unusual POST requests, abnormal query strings, encoded shell metacharacters, and requests followed by configuration changes or device reboots. Compare device configuration backups before and after suspicious access. Look for altered management settings, changed credentials, unexpected DNS/NTP/syslog destinations, new remote access behavior, abnormal outbound connections, and signs the device began scanning or connecting to unknown hosts. If the device stores local shell, process, or system logs, review them for command execution, unexpected child processes spawned by the web service, modifications under temporary or configuration directories, and commands commonly used by embedded-device malware such as wget, curl, tftp, busybox, chmod, sh, or nc. Because exploitation is weaponized, treat confirmed unauthenticated access to the vulnerable endpoint from untrusted sources as suspicious even if command execution artifacts are not retained.

  • /cgi-bin-sdb/ExportSettings.sh
  • cgi-bin-sdb/ExportSettings.sh
  • ExportSettings.sh
  • GET /cgi-bin-sdb/ExportSettings.sh
  • POST /cgi-bin-sdb/ExportSettings.sh
  • /cgi-bin-sdb/
  • wget http
  • curl http
  • tftp -g
  • busybox wget
  • chmod +x /tmp
  • /tmp/
  • ;wget
  • ;curl
  • |wget
  • |curl
  • $(wget
  • $(curl

What your security team should do

  • Immediately inventory Mega System Technologies MSNSwitch and MSNSwitch firmware deployments, including embedded, remote-site, and facilities-managed devices.
  • Prioritize any internet-exposed or broadly reachable management interfaces because the vulnerability is high severity, remotely exploitable without credentials, and has weaponized exploit maturity.
  • Restrict management access to trusted administrative networks or VPN-only access; block direct internet access to the device web interface.
  • Check vendor advisories and apply the latest available firmware; if no supported fix exists, isolate or replace the device.
  • Search historical web, firewall, proxy, IDS, and device logs for access to /cgi-bin-sdb/ExportSettings.sh, especially unauthenticated requests or requests from unknown external IP addresses.
  • Review device configurations for unauthorized changes and rotate administrative credentials after isolating or patching the device.
  • Monitor compromised-device behaviors such as outbound connections to unfamiliar IPs, unexpected DNS lookups, abnormal reboots, changed management settings, or traffic consistent with scanning or botnet activity.
  • Create SIEM detections for requests to the vulnerable CGI path and alert on any future access attempts.

The record

An authentication-bypass issue in the component http://MYDEVICEIP/cgi-bin-sdb/ExportSettings.sh of Mega System Technologies Inc MSNSwitch MNT.2408 allows unauthenticated attackers to arbitrarily configure settings within the application, leading to remote code execution.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities