Summary
Dialoqbase, by n4ze3m, contains an unauthenticated path traversal vulnerability in the GET /api/v1/view/* route that allows arbitrary server file reads. A fix is available in version 1.11.5.
What happened
Dialoqbase is an application for creating chatbots. In versions prior to 1.11.5, the GET /api/v1/view/* route (server/src/routes/api/v1/view/root.ts) requires no authentication and resolves the attacker-controlled wildcard path without normalization or containment. This allows traversal outside the intended uploads directory and reading arbitrary files on the server. According to the source, reading environment files can disclose DB_SECRET_KEY, the key the application uses to sign its JWTs, which would permit forged administrator tokens and takeover of bots, conversations, integrations and stored third-party credentials. The vulnerability is associated with CWE-22, CWE-200, CWE-287 and CWE-522.
Why it matters
The source (CNA GitHub_M) assigns a CVSS 3.1 score of 9.8 and critical severity, with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H: network access, no privileges or user interaction required, and high impact on confidentiality, integrity and availability. The source does not indicate active exploitation, and CISA's KEV catalog does not list it as exploited.
Affected products and versions
dialoqbase (vendor: n4ze3m): versions prior to 1.11.5 (< 1.11.5).
| Product | Versions | Fixed in |
|---|---|---|
| n4ze3m dialoqbase | < 1.11.5 | — |
Action recommended by the source
The vendor states the issue is fixed in version 1.11.5. Details are in the GitHub security advisory (GHSA-2448-c4f7-4crm), pull request #317 and the v1.11.5 release of the n4ze3m/dialoqbase repository.
Sources and references
- https://github.com/n4ze3m/dialoqbase/security/advisories/GHSA-2448-c4f7-4crm — CVE Program
- https://github.com/n4ze3m/dialoqbase/pull/317 — CVE Program
- https://github.com/n4ze3m/dialoqbase/commit/c9d128c58997d91d9786b54a0fd626206ce0f4f9 — CVE Program
- https://github.com/n4ze3m/dialoqbase/releases/tag/v1.11.5 — CVE Program
Weaknesses (CWE): CWE-22, CWE-200, CWE-287, CWE-522
Relevant change history
Published
Advisory published.