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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-42476— oauth CSRF vulnerability

Quick assessment

Affected
CORDEA oauth
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.

oauth是Yoshihiro Tanaka个人开发者的一个适用于 nim 的 oauth 库。 oauth 0.11之前版本存在安全漏洞,该漏洞源于使用某些特定的编译器标志编译项目,state参数可能不会被检查,从而造成容易受到跨站请求伪造攻击。

CVSS 6.5 · Medium EPSS 0.24% · P14

Possible ATT&CK Techniques 1 AI

T1557 · Adversary-in-the-Middle
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-42476

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
oauth CSRF vulnerability
Source: CVE Program / CVE List V5
Vulnerability Description
In the OAuth library for nim prior to version 0.11, the Authorization Code grant and Implicit grant both rely on the `state` parameter to prevent cross-site request forgery (CSRF) attacks where a resource owner might have their session associated with protected resources belonging to an attacker. When this project is compiled with certain compiler flags set, it is possible that the `state` parameter will not be checked at all, creating a CSRF vulnerability. Version 0.11 checks the `state` parameter using a regular `if` statement or `doAssert` instead of relying on a plain `assert`. `doAssert` will achieve the desired behavior even if `-d:danger` or `--assertions:off` is set.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
跨站请求伪造(CSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
oauth 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
oauth是Yoshihiro Tanaka个人开发者的一个适用于 nim 的 oauth 库。 oauth 0.11之前版本存在安全漏洞,该漏洞源于使用某些特定的编译器标志编译项目,state参数可能不会被检查,从而造成容易受到跨站请求伪造攻击。
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
CORDEA oauth < 0.11 -

II. Public POCs for CVE-2024-42476

# 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-42476

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

Vendor Advisories for CVE-2024-42476 (1)

Other References for CVE-2024-42476 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-42476

No comments yet


Leave a comment