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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-41338— Vulnerability in Ctx.IsFromLocal() in gofiber

Quick assessment

Affected
gofiber fiber
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.

Fiber是一款使用Go语言编写的开源Web框架。 Fiber 2.49.1之前版本存在安全漏洞,该漏洞源于没有正确限制对localhost的访问,导致未经授权的攻击者可以访问仅供给本地主机使用的资源。

CVSS 5.3 · Medium EPSS 0.53% · P43
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-41338

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
Vulnerability in Ctx.IsFromLocal() in gofiber
Source: CVE Program / CVE List V5
Vulnerability Description
Fiber is an Express inspired web framework built in the go language. Versions of gofiber prior to 2.49.2 did not properly restrict access to localhost. This issue impacts users of our project who rely on the `ctx.IsFromLocal` method to restrict access to localhost requests. If exploited, it could allow unauthorized access to resources intended only for localhost. Setting `X-Forwarded-For: 127.0.0.1` in a request from a foreign host, will result in true for `ctx.IsFromLocal`. Access is limited to the scope of the affected process. This issue has been patched in version `2.49.2` with commit `b8c9ede6`. Users are advised to upgrade. There are no known workarounds to remediate this vulnerability without upgrading to the patched version.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
控制流实现总是不正确
Source: CVE Program / CVE List V5
Vulnerability Title
Fiber 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Fiber是一款使用Go语言编写的开源Web框架。 Fiber 2.49.1之前版本存在安全漏洞,该漏洞源于没有正确限制对localhost的访问,导致未经授权的攻击者可以访问仅供给本地主机使用的资源。
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
gofiber fiber < 2.49.2 -

II. Public POCs for CVE-2023-41338

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

登录查看更多情报信息。

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

Vendor Advisories for CVE-2023-41338 (1)

Other References for CVE-2023-41338 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2023-41338

No comments yet


Leave a comment