CVE-2022-23626
Blog Project Blog vulnerability
m1k1o/blog is a lightweight self-hosted facebook-styled PHP blog. Errors from functions `imagecreatefrom*` and `image*` have not been checked properly. Although PHP issued warnings and the upload function returned `false`, the original file (that could contain a malicious payload) was kept on the disk. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
Affected products
Blog. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Blog Project Blog 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef · Patch
- packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html · Exploit
- github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-23626
- cve.org/CVERecord?id=CVE-2022-23626
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.