A vulnerability classified as critical has been found in SimStudioAI sim up to 0.1.17. Affected is the function handleLocalFile of the file apps/sim/app/api/files/parse/route.ts. The manipulation of the argument filePath leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The patch is identified as b2450530d1ddd0397a11001a72aa0fde401db16a. It is recommended to apply a patch to fix this issue.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://vuldb.com/?id.315018 | vdb entry technical description |
https://vuldb.com/?ctiid.315018 | signature permissions required |
https://vuldb.com/?submit.601043 | third party advisory |
https://github.com/vri-report/reports/issues/2 | issue tracking |
https://github.com/simstudioai/sim/pull/437 | issue tracking |
https://github.com/vri-report/reports/issues/2#issue-3161840085 | issue tracking exploit |
https://github.com/simstudioai/sim/commit/b2450530d1ddd0397a11001a72aa0fde401db16a | patch |