Skip to main content

Devika CVE-2024-6331

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2024-08-04 security@huntr.dev
6.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
CVE Published
Aug 04, 2024 - 00:15 nvd
MEDIUM 6.5

DescriptionNVD

stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File Read (LFI) by Prompt Injection. The integration of Google Gimini 1.0 Pro with HarmBlockThreshold.BLOCK_NONE for HarmCategory.HARM_CATEGORY_HATE_SPEECH and HarmCategory.HARM_CATEGORY_HARASSMENT in safety_settings disables content protection. This allows malicious commands to be executed, such as reading sensitive file contents like /etc/passwd.

AnalysisAI

stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File Read (LFI) by Prompt Injection. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Technical ContextAI

This vulnerability is classified under CWE-74. stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File Read (LFI) by Prompt Injection. The integration of Google Gimini 1.0 Pro with HarmBlockThreshold.BLOCK_NONE for HarmCategory.HARM_CATEGORY_HATE_SPEECH and HarmCategory.HARM_CATEGORY_HARASSMENT in safety_settings disables content protection. This allows malicious commands to be executed, such as reading sensitive file contents like /etc/passwd. Affected products include: Stitionai Devika.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

More in Devika

View all
CVE-2024-40422 CRITICAL POC
9.1 Jul 24

The snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path tr

CVE-2024-5926 CRITICAL POC
9.1 Jun 30

A path traversal vulnerability in the get-project-files functionality of stitionai/devika allows attackers to read arbit

CVE-2024-5820 HIGH POC
8.8 Jun 27

An unprotected WebSocket connection in the latest version of stitionai/devika (commit ecee79f) allows a malicious websit

CVE-2024-5549 HIGH POC
8.1 Jul 09

A CORS misconfiguration in the stitionai/devika repository allows attackers to steal sensitive information such as logs,

CVE-2024-5712 HIGH POC
8.1 Jun 28

A Cross-Site Request Forgery (CSRF) vulnerability was identified in the stitionai/devika application, affecting the late

CVE-2024-5548 HIGH POC
7.5 Jun 27

A directory traversal vulnerability exists in the stitionai/devika repository, specifically within the /api/download-pro

CVE-2024-5547 HIGH POC
7.5 Jun 27

A directory traversal vulnerability exists in the /api/download-project-pdf endpoint of the stitionai/devika repository,

CVE-2024-5334 HIGH POC
7.5 Jun 27

A local file read vulnerability exists in the stitionai/devika repository, affecting the latest version. Rated high seve

CVE-2024-5711 MEDIUM POC
6.1 Jul 08

A stored Cross-Site Scripting (XSS) vulnerability exists in the stitionai/devika chat feature, allowing attackers to inj

CVE-2024-7790 MEDIUM POC
5.4 Aug 14

A stored cross site scripting vulnerabilities exists in DevikaAI from commit 6acce21fb08c3d1123ef05df6a33912bf0ee77c2 on

Share

CVE-2024-6331 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy