Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.19.13, server-side request forgery protection implemented in `src/app/api/proxy/route.ts` does not consider redirect and could be bypassed when attacker provides an external malicious URL which redirects to internal resources like a private network or loopback address. Version 1.19.13 contains an improved fix for the issue.
https://github.com/lobehub/lobe-chat/security/advisories/GHSA-mxhq-xw3g-rphc
https://github.com/lobehub/lobe-chat/security/advisories/GHSA-3fc8-2r3f-8wrg
https://github.com/lobehub/lobe-chat/commit/e960a23b0c69a5762eb27d776d33dac443058faf
https://github.com/lobehub/lobe-chat/blob/main/src/app/api/proxy/route.ts
Published: 2024-09-23
Updated: 2024-09-30
Base Score: 9
Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C
Severity: High
Base Score: 8.8
Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base Score: 6.3
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:H
Severity: Medium
EPSS: 0.05418