OpenHarness prior to commit 166fcfe contains an improper access control vulnerability in built-in file tools due to inconsistent parameter handling in permission enforcement, allowing attackers who can influence agent tool execution to read arbitrary local files outside the intended repository scope. Attackers can exploit the path parameter not being passed to the PermissionChecker in read_file, write_file, edit_file, and notebook_edit tools to bypass deny rules and access sensitive files such as configuration files, credentials, and SSH material, or create and overwrite files in restricted host paths in full_auto mode.
OpenHarness contains an improper access control vulnerability in file tools that allows attackers to bypass permission checks and read/write arbitrary files outside the intended scope. The vulnerability affects read_file, write_file, edit_file, and notebook_edit tools due to inconsistent parameter handling in permission enforcement.
يحتوي OpenHarness على ثغرة في التحكم بالوصول تؤثر على أدوات معالجة الملفات المدمجة. يمكن للمهاجمين الذين يمكنهم التأثير على تنفيذ أدوات الوكيل تجاوز قواعد الحظر والوصول إلى ملفات حساسة مثل ملفات التكوين والبيانات الاعتماديّة ومواد SSH. الثغرة تنتج عن عدم تمرير معامل المسار إلى PermissionChecker في عدة أدوات.
OpenHarness prior to commit 166fcfe has an access control flaw in file manipulation tools that permits attackers to circumvent security restrictions and access sensitive files like credentials and SSH keys. The vulnerability stems from path parameters not being validated through the PermissionChecker, enabling unauthorized file operations.
Upgrade OpenHarness to commit 166fcfe or later immediately. Implement strict input validation for all file path parameters in read_file, write_file, edit_file, and notebook_edit tools. Enforce permission checks through PermissionChecker for all path parameters. Restrict agent tool execution capabilities and monitor file access patterns for suspicious activity.
قم بترقية OpenHarness إلى الإصدار 166fcfe أو أحدث فوراً. طبق التحقق الصارم من صحة المدخلات لجميع معاملات مسارات الملفات. فرض فحوصات الأذونات من خلال PermissionChecker لجميع معاملات المسارات. قيد قدرات تنفيذ أدوات الوكيل ومراقبة أنماط الوصول للملفات للكشف عن النشاط المريب.