CVE-2022-23626
Although PHP issued warnings and the upload function returned `false`, the original file (that could contain a malicious payload) was kept on the disk.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (9.87%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 9.87% probability · 95th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20, CWE-252
- Affected
- blog project/blog
- Source
- security-advisories@github.com
References
- http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2efPatch, Third Party Advisory
- https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4Third Party Advisory
- http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2efPatch, Third Party Advisory
- https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.