Description
WebVella ERP through 1.8.8 contains an sql injection vulnerability that allows any authenticated user to inject SQL through WHERE-clause text literals in the EQL query API. Attackers can send crafted single-quoted literals to POST /api/v3/en_US/eql, escaping the unsanitized EqlBuilder SQL interpolation to read unauthorized entities, including user and role tables.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| WebVella | WebVella-ERP | ≤ 1.8.8 | — |
References
- https://hackmd.io/@hieuPenguinnn/webvella-erp-eql-text-literal-sql-injection third-party-advisory
- https://github.com/WebVella/WebVella-ERP/blob/10315fe844198b8620494f716ed75410cd54bfe6/WebVella.Erp/Eql/EqlBuilder.Sql.cs#L580-L581 technical-description
- https://github.com/WebVella/WebVella-ERP/blob/10315fe844198b8620494f716ed75410cd54bfe6/WebVella.Erp.Web/Controllers/WebApiController.cs#L64-L74 technical-description
- https://www.nuget.org/packages/WebVella.Erp/1.8.8 product
- VulnCheck Advisory: WebVella ERP through 1.8.8 SQL Injection via EQL Query API third-party-advisory