Description
Jorani before 1.0.4 contains a missing authorization vulnerability in Contracts::import() that allows any authenticated user to import days off into any contract from an arbitrary URL. Attackers can submit a contract id and URL via POST to overwrite non-working-day calendars and abuse get_headers() and fopen() for server-side request forgery against internal hosts.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Jorani Jorani
Default version status: unaffected
0 to < 1.0.4affected
pkg:github/jorani/joraniReferences
- https://github.com/jorani/jorani/issues/426 ↗
- https://github.com/jorani/jorani/blob/v1.0.2/application/controllers/Contracts.php#L358-L375 ↗
- https://github.com/jorani/jorani/commit/59c403224401824489ec662934f71c90d27f614c ↗
- https://github.com/jorani/jorani/releases/tag/v1.0.4 ↗
- https://www.vulncheck.com/advisories/jorani-before-1.0.4-missing-authorization-and-ssrf-via-contracts-import ↗