The Baggage Freight Shipping plugin for WordPress contains an arbitrary file upload vulnerability due to a lack of user-input validation. The single version of the plugin contains upload functionality intended to process Excel documents containing baggage data. The upload functionality does not make any attempt to validate the file type or contents. It is possible to upload executable file extensions including PHP files to the WordPress site anywhere the plugin is used.
- An unauthenticated remote attacker submits a file upload request.
- The plugin accepts the upload and attempts to read the file contents. The resulting error message is returned in the response.
- The unauthenticated remote attacker requests the filename to be returned in the error message, resulting in remote code execution.
The attacker must be able to send crafted packets to the target system.
Alert Logic Coverage
Alert Logic® has evaluated its customer base for exposure to the exploit and has developed signatures for mitigating the threat depending on the security service in place.
The Network-Based Intrusion Detection System (IDS) has been updated with the new signatures for this exploit when detected via Alert Logic Threat Manager™. If this signature is detected, an incident is generated in the Alert Logic console.
Recommendations for Mitigation
Upgrade to a non-vulnerable version to mitigate this vulnerability.