CVE-2021-48025
9.8CriticalPublished 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-470
What an attacker gets
Unauthenticated attackers can execute arbitrary code on the server. They only need to send a crafted GET request to the ShareController endpoint.
Root cause
The shareBox method insecurely passes user-controlled input into model methods, eventually reaching an assert call.
Affected versions
OpenSNS 3.2.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to the latest version of OpenSNS or remove the vulnerable ShareController code. Block access to /index.php?s=weibo/Share/shareBox at the web application firewall level.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- https://github.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.md
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/opensns-rce.yaml
- https://www.vulncheck.com/advisories/opensns-3.2.1-unauthenticated-rce-via-weibo-share-sharebox