CVE-2021-48025
OpenSNS 3.2.1 contains an unauthenticated code injection …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/cms/OpenSNS/OpenSNS%20Application%20
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/opensns-
- www.vulncheck.com/advisories/opensns-3.2.1-unauthenticated-rce-via-weibo-share-sharebox
- nvd.nist.gov/vuln/detail/CVE-2021-48025
- cve.org/CVERecord?id=CVE-2021-48025
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.