Description
A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulation of the argument localhost_aliases leads to erweiterte Rechte. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Es wurde eine Schwachstelle in gradio-app gradio bis 5.29.1 entdeckt. Sie wurde als problematisch eingestuft. Hiervon betroffen ist die Funktion is_valid_origin der Komponente CORS Handler. Mittels dem Manipulieren des Arguments localhost_aliases mit unbekannten Daten kann eine erweiterte Rechte-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Die Komplexität eines Angriffs ist eher hoch. Sie ist schwierig auszunutzen. Der Exploit steht zur öffentlichen Verfügung.
Problem types
Insufficient Verification of Data Authenticity
Product status
5.29.1
Timeline
| 2025-05-29: | Advisory disclosed |
| 2025-05-29: | VulDB entry created |
| 2025-06-01: | VulDB entry last update |
Credits
Jiacheng Zhong
Zhengyu Liu
Gavin Zhong (VulDB User)
Gavin Zhong (VulDB User)
References
vuldb.com/?id.310491 (VDB-310491 | gradio-app gradio CORS is_valid_origin privilege escalation)
vuldb.com/?ctiid.310491 (VDB-310491 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.580250 (Submit #580250 | gradio <=5.29.1 Cross-Site Request Forgery)
gist.github.com/...rboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe
gist.github.com/...rboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe