Summary
CVE-2021-48025 is an unauthenticated code injection vulnerability (CWE-470, unsafe reflection) in OpenSNS 3.2.1 that leads to remote code execution. A remote attacker can exploit it over the network with a crafted GET request. It is rated critical (CVSS v4.0 9.3). Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
Technical details
- Root cause: The
shareBoxmethod ofShareControlleraccepts attacker-controlled input. The input is processed withparse_strandShareModel::getInfoand reachesSchedule::runSchedule, which executes it throughassert. - Trigger conditions: A GET request to
/index.php?s=weibo/Share/shareBoxwith crafted parameters. No authentication is required. - Attack vector: Network.
- Impact: Arbitrary code execution on the server running OpenSNS.
Affected software
- OpenSNS 3.2.1 (vendor: Jiaxing Xiangtian Information Technology)
Severity
- CVSS v4.0: 9.3 (Critical). Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 as listed in the CVE record: 9.8 (Critical). Vector:
CVSS:3.1/AV:N/AC:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The CVE record does not identify a fixed version. Check with the vendor for a patched release or an update.
- If no patch is available:
- Block or restrict access to
/index.php?s=weibo/Share/shareBoxat a WAF or reverse proxy. - Restrict internet exposure of affected OpenSNS instances.
- Review web server logs for requests to the
weibo/Share/shareBoxpath, and investigate any unexpected process or file activity on exposed hosts.
- Block or restrict access to

