Improper input validation in Blog Project
CVE-2022-23626
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.099, 95.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Blog Project
- M1k1o Blog — versions < 1.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4 (Third Party Advisory)
- github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef (Patch, Third Party Advisory)
- packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)