{"id":"CVE-2022-23626","published":"2022-02-08T22:00:12Z","modified":"2025-04-22T18:22:30Z","title":"Insufficient file checks in m1k1o/blog","vendor":"m1k1o","product":"blog","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.09874,"percentile":0.95687,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"priority":{"score":30.1,"factors":[{"name":"EPSS percentile","points":19.14},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.95}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-05-23"},"first":{"date":"2022-05-23","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50943"},"provenance":"source"},"vendorSlug":"m1k1o","affectedVersions":[{"vendor":"m1k1o","product":"blog","versions":["< 1.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:44:36.448150Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The m1k1o/blog PHP self-hosted blog fails to properly check errors from its image-handling functions (imagecreatefrom* and image*), so when image processing fails during upload, the original file is still kept on disk. An attacker able to upload files to the blog, with low-privilege authentication and a high-complexity attack setup, could leave a potentially malicious payload stored on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:27:56Z"},"euvd":{"id":"EUVD-2022-28584","exploited":false,"provenance":"source"},"exploits":[{"id":50943,"url":"https://www.exploit-db.com/exploits/50943","title":"m1k1o's Blog v.10 - Authenticated Remote Code Execution (RCE)","date":"2022-05-23","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html"]}