إرسال #558415: web-arena-x webarena <=0.2.0 Code Injectionالمعلومات

عنوانweb-arena-x webarena <=0.2.0 Code Injection
الوصفWebArena is a standalone, self-hostable web environment for building LLM autonomous agents. In the WebArena project, specifically in the evaluators.py file (https://github.com/web-arena-x/webarena/blob/main/evaluation_harness/evaluators.py#L266), there is a critical vulnerability. The code checks if the "target_url" starts with "func" and if so, extracts a substring, replaces a value, and then passes it to the "eval()" function for execution. Since "eval()" is used with user-supplied input (as demonstrated by creating a config with "target_url= 'func:import('os').system('rm -f /path/to/sensitive/file')'"), it poses a Remote Code Execution (RCE) risk. This allows attackers to execute arbitrary code with the privileges of the running application, potentially leading to data loss, service outages, or malware installation. It aligns with CWE-94. More details: https://github.com/web-arena-x/webarena/issues/194
المصدر⚠️ https://github.com/web-arena-x/webarena/issues/194
المستخدم
 ybdesire (UID 83239)
ارسال15/04/2025 03:53 PM (1 سنة منذ)
الاعتدال27/04/2025 09:22 PM (12 days later)
الحالةتمت الموافقة
إدخال VulDB306376 [web-arena-x webarena حتى 0.2.0 evaluators.py HTMLContentEvaluator target["url"] تجاوز الصلاحيات]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!