Arduino Create Agent path traversal - arbitrary file deletion vulnerability
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Oct 18, 2023 
          in
          
            arduino/arduino-create-agent
          
          •
          Updated Nov 11, 2023 
      
  
Package
Affected versions
< 1.3.3
  Patched versions
1.3.3
  Description
        Published to the GitHub Advisory Database
      Oct 18, 2023 
    
  
        Reviewed
      Oct 18, 2023 
    
  
        Published by the National Vulnerability Database
      Oct 18, 2023 
    
  
        Last updated
      Nov 11, 2023 
    
  
Impact
The vulnerability affects the endpoint
/v2/pkgs/tools/installedand the way it handles plugin names supplied as user input.A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can delete arbitrary files or folders belonging to the user that runs the Arduino Create Agent via a crafted HTTP DELETE request.
Further details are available in the references.
Fixed Version
1.3.3References
The issue was reported by Nozomi Networks Labs. Further details on the issue are available at the following URL:
References