{"id":"CVE-2021-28428","details":"File upload vulnerability in HorizontCMS before 1.0.0-beta.3 via uploading a .htaccess and *.hello files using the Media Files upload functionality. The original file upload vulnerability (CVE-2020-27387) was remediated by restricting the PHP extensions; however, we confirmed that the filter was bypassed via uploading an arbitrary .htaccess and *.hello files in order to execute PHP code to gain RCE.","modified":"2026-04-09T07:39:26.370109Z","published":"2022-04-05T16:15:11.880Z","references":[{"type":"FIX","url":"https://github.com/ttimot24/HorizontCMS/commit/9c4d6827cbe96decec6834d53660e14ab2bf8838"},{"type":"PACKAGE","url":"https://github.com/ttimot24/HorizontCMS"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ttimot24/horizont-cms","events":[{"introduced":"0"},{"fixed":"9c4d6827cbe96decec6834d53660e14ab2bf8838"}]},{"type":"GIT","repo":"https://github.com/ttimot24/horizontcms","events":[{"introduced":"0"},{"last_affected":"3b09e6fbddf193fbd904b9f0cb72dc9dda252001"},{"introduced":"0"},{"last_affected":"59c2843b5df2ac2e78b1d54db4e40dbe082cf233"},{"introduced":"0"},{"last_affected":"5aa34ac4e457a49b83f24a2969593c495f3ed9ad"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.0.0-NA"},{"introduced":"0"},{"last_affected":"1.0.0-alpha"},{"introduced":"0"},{"last_affected":"1.0.0-beta"}]}}],"versions":["v1.0.0","v1.0.0-alpha","v1.0.0-alpha.2","v1.0.0-alpha.3","v1.0.0-alpha.4","v1.0.0-alpha.5","v1.0.0-alpha.6","v1.0.0-alpha.7","v1.0.0-alpha.8","v1.0.0-beta","v1.0.0-beta.2","v1.0.0-beta.3"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha2"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha3"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha4"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha5"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha6"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha7"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha8"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0.0-beta2"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28428.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}