Paper/Archive/CVE-2021-48025

CVE-2021-48025

Jiaxing Xiangtian Information Technology OpenSNS — OpenSNS 3.2.1 Unauthenticated RCE via weibo/Share/shareBox

Description · from the CVE record

OpenSNS 3.2.1 contains an unauthenticated code injection vulnerability in the shareBox method of ShareController that allows attackers to invoke arbitrary model methods via the query parameter. Attackers can send crafted GET requests to /index.php?s=weibo/Share/shareBox abusing parse_str and ShareModel::getInfo to reach Schedule::runSchedule and execute code through assert. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.

Affected

ProductAffectedFixed inSource
OpenSNS3.2.1–CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/cms/OpenSNS/OpenSNS%20Application%20ShareController.class.php%20%E8%BF%9C%E7%A8%8B%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E.mdwriteupgithub.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/opensns-rce.yamlwriteupvulncheck.com/advisories/opensns-3.2.1-unauthenticated-rce-via-weibo-share-sharebox