Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-52294— khoj has an IDOR in subscription management that allows unauthorized subscription modifications

Quick assessment

Affected
khoj-ai khoj
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Khoj是Khoj AI开源的一款应用程序。可为用户创建随时可用的个人人工智能代理。 Khoj 1.29.10之前版本存在安全漏洞,该漏洞源于存在一个不安全的直接对象引用(IDOR)漏洞,允许任何经过身份验证的用户通过简单地修改请求中的电子邮件参数来操纵其他用户的Stripe订阅。

CVSS 4.3 · Medium EPSS 0.38% · P30
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-52294

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
khoj has an IDOR in subscription management that allows unauthorized subscription modifications
Source: CVE Program / CVE List V5
Vulnerability Description
Khoj is a self-hostable artificial intelligence app. Prior to version 1.29.10, an Insecure Direct Object Reference (IDOR) vulnerability in the update_subscription endpoint allows any authenticated user to manipulate other users' Stripe subscriptions by simply modifying the email parameter in the request. The vulnerability exists in the subscription endpoint at `/api/subscription`. The endpoint uses an email parameter as a direct reference to user subscriptions without verifying object ownership. While authentication is required, there is no authorization check to verify if the authenticated user owns the referenced subscription. The issue was fixed in version 1.29.10. Support for arbitrarily presenting an email for update has been deprecated.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过用户控制密钥绕过授权机制
Source: CVE Program / CVE List V5
Vulnerability Title
Khoj 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Khoj是Khoj AI开源的一款应用程序。可为用户创建随时可用的个人人工智能代理。 Khoj 1.29.10之前版本存在安全漏洞,该漏洞源于存在一个不安全的直接对象引用(IDOR)漏洞,允许任何经过身份验证的用户通过简单地修改请求中的电子邮件参数来操纵其他用户的Stripe订阅。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
khoj-ai khoj < 1.29.0 -

II. Public POCs for CVE-2024-52294

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-52294

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-52294 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-52294

No comments yet


Leave a comment