/api/v1/company/upload-logo in CompanyController.php in crater through 6.0.6 allows a superadmin to execute arbitrary PHP code by placing this code into an image/png IDAT chunk of a Company Logo image.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://github.com/crater-invoice/crater/issues/1267 | vendor advisory issue tracking exploit |
https://github.com/crater-invoice/crater/pull/1271 | patch issue tracking |
https://github.com/asylumdx/Crater-CVE-2023-46865-RCE | |
https://notes.netbytesec.com/2023/11/post-auth-rce-in-crater-invoice.html |