Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context. This could allow for abuse of the application class loader, including Arbitrary File Disclosure.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Link | Tags |
---|---|
https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4 | third party advisory release notes |
https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b | patch third party advisory permissions required |
https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165 | third party advisory patch |
https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4 | third party advisory release notes |
https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava | third party advisory exploit |