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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-29003— SvelteKit has Insufficient Cross-Site Request Forgery Protection

Quick assessment

Affected
sveltejs kit
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.

svelte是Svelte开源的一种构建 Web 应用程序的新方法。 svelte Kit 1.15.1之前版本存在安全漏洞,该漏洞源于通过指定不同的“Content-Type”标头值来绕过保护。攻击者利用该漏洞在受害者会话中执行操作,在极端情况下可以访问用户帐户。

CVSS 8.8 · High EPSS 0.56% · P44

Possible ATT&CK Techniques 1 AI

T1556 · Modify Authentication Process
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-29003

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
SvelteKit has Insufficient Cross-Site Request Forgery Protection
Source: CVE Program / CVE List V5
Vulnerability Description
SvelteKit is a web development framework. The SvelteKit framework offers developers an option to create simple REST APIs. This is done by defining a `+server.js` file, containing endpoint handlers for different HTTP methods. SvelteKit provides out-of-the-box cross-site request forgery (CSRF) protection to its users. While the implementation does a sufficient job in mitigating common CSRF attacks, prior to version 1.15.1, the protection can be bypassed by simply specifying a different `Content-Type` header value. If abused, this issue will allow malicious requests to be submitted from third-party domains, which can allow execution of operations within the context of the victim's session, and in extreme scenarios can lead to unauthorized access to users’ accounts. SvelteKit 1.15.1 updates the `is_form_content_type` function call in the CSRF protection logic to include `text/plain`. As additional hardening of the CSRF protection mechanism against potential method overrides, SvelteKit 1.15.1 is now performing validation on `PUT`, `PATCH` and `DELETE` methods as well. This latter hardening is only needed to protect users who have put in some sort of `?_method= override` feature themselves in their `handle` hook, so that the request that resolve sees could be `PUT`/`PATCH`/`DELETE` when the browser issues a `POST` request.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨站请求伪造(CSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
svelte 跨站请求伪造漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
svelte是Svelte开源的一种构建 Web 应用程序的新方法。 svelte Kit 1.15.1之前版本存在安全漏洞,该漏洞源于通过指定不同的“Content-Type”标头值来绕过保护。攻击者利用该漏洞在受害者会话中执行操作,在极端情况下可以访问用户帐户。
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
sveltejs kit < 1.15.1 -

II. Public POCs for CVE-2023-29003

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-29003

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

Patches & Fixes for CVE-2023-29003 (1)

Vendor Advisories for CVE-2023-29003 (1)

Other References for CVE-2023-29003 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-29003

No comments yet


Leave a comment