Description
erxes before 3.4.14 contains a missing authentication vulnerability in the insurance_api plugin that allows unauthenticated attackers to create, overwrite or delete contract templates via GraphQL mutations. Attackers can inject HTML into templates rendered by headless Chromium during generateContractPDF to pull internal network content into PDFs and exfiltrate customer fields.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| erxes | erxes | < 3.4.14 | 3.4.14 |
References
- https://github.com/erxes/erxes/commit/6370a571faf8e45ca58b9bd7d6d65715a2cf5925 patch
- erxes 3.4.14 Release Notes release-notes
- https://github.com/erxes/erxes/blob/3.4.7/backend/plugins/insurance_api/src/modules/insurance/graphql/resolvers/mutations/template.ts#L21-L104 technical-description
- VulnCheck Advisory: erxes before 3.4.14 Missing Authentication via insurance_api Contract Template Mutations third-party-advisory