Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

DevikaAI Stored Cross-Site Scripting

Medium

Synopsis

A Stored Cross-Site Scripting exists in the current version of DevikaAI (June 8 - commit 6acce21).

This commit adds the use of DOMPurify (an HTML sanitization library) to "ui/src/lib/components/MessageInput.svelte".

As indicated by the file name, only user entries are filtered, thus avoiding "raw" payload injection.

However, it is possible to ask the model to decode an encoded character string (Base64 for example) which will be interpreted when displayed.

Depending on the LLM model and prompt used, a stored cross-site scripting attack may be possible.

Solution

The vendor or maintainer has not made mitigations or fixes available.

Disclosure Timeline

June 17, 2024 - Tenable sends security contact request to vendor.
June 24, 2024 - Tenable second attempt to obtain security contact request.
July 23, 2024 - Tenable third attempt to notify vendor.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

CVE ID: CVE-2024-7790
Tenable Advisory ID: TRA-2024-31
Credit:
Joshua Martinelle
CVSSv3 Base / Temporal Score:
6.5 / 5.9
CVSSv3 Vector:
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products:
DevikaAI from June 8, 2024 onward.
Risk Factor:
Medium

Advisory Timeline

August 14, 2024 - Initial release.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Tenable Vulnerability Management trials created everywhere except UAE will also include Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose your subscription option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Tenable Vulnerability Management trials created everywhere except UAE will also include Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose your subscription option:

Buy Now