Planyo online reservation system <= 3.0 - Unauthenticated Server-Side Request Forgery via 'ulap_url' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 on Exploit-DB, 1 Metasploit module, 1 proof of concept on GitHub, 1 Nuclei template
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The Planyo Online Reservation System plugin for WordPress is vulnerable to Server-Side Request Forgery leading to Local File Inclusion in all versions up to, and including, 3.0. The ulap.php file acts as an AJAX proxy and is directly accessible without WordPress bootstrapping or any authentication. The send_http_post() function validates the host of the provided URL against an allowlist that includes 'localhost', but critically fails to validate the URL scheme/protocol. This makes it possible for unauthenticated attackers to supply a file:// URL (e.g., file://localhost/etc/passwd) which bypasses the host allowlist check because parse_url() returns 'localhost' as the host. The URL is then passed to curl_init() or fopen(), both of which support the file:// protocol, allowing the attacker to read arbitrary local files on the server and have their contents returned in the HTTP response. This can lead to disclosure of sensitive files such as /etc/passwd, wp-config.php (containing database credentials and authentication keys), and other server-side files.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
- Public exploit on Exploit-DB
EDB-52636
Affected versions
- xtreeme Planyo online reservation system
through 3.0
References 16
plugins.trac.wordpress.org
- browser/planyo-online-reservation-system/trunk/ulap.php#L84
- browser/planyo-online-reservation-system/tags/2.7/ulap.php#L84
- browser/planyo-online-reservation-system/trunk/ulap.php#L96
- browser/planyo-online-reservation-system/tags/2.7/ulap.php#L96
- browser/planyo-online-reservation-system/trunk/ulap.php#L59
- browser/planyo-online-reservation-system/tags/2.7/ulap.php#L59
- browser/planyo-online-reservation-system/trunk/ulap.php#L120
- browser/planyo-online-reservation-system/tags/2.7/ulap.php#L120
- browser/planyo-online-reservation-system/trunk/ulap.php#L118
- browser/planyo-online-reservation-system/tags/2.7/ulap.php#L118
- changeset?reponame=&old=3488647%40planyo-online-reservation-system&new=3488647%40planyo-online-reservation-system