RiSearch show.pl Server-Side Request Forgery and Local File Read
RiSearch 1.0.01 and RiSearch Pro 3.2.06 contain a server-side request forgery vulnerability in the show.pl CGI script. The script retrieves a resource specified through its url parameter without restricting the supplied URL scheme or destination. An attacker can supply HTTP or FTP URLs to cause the server to act as an open proxy, or a file URL to retrieve local files accessible to the CGI process.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A remote attacker can make requests through the affected server to attacker-selected HTTP or FTP destinations, potentially bypassing network segmentation or access controls and reaching resources not directly accessible to the attacker. The attacker can also read local files that are accessible under the CGI process's privileges, resulting in information disclosure.
If you can’t patch tonight, do this now.
As an interim measure, disable or restrict access to the show.pl CGI script if it is not strictly required. Apply server-side input validation to the url parameter, permitting only expected formats and explicitly blocking file and other unnecessary schemes. Constrain outbound connectivity from the web server to only required destinations and protocols, and limit the web server process's filesystem permissions to reduce the impact of arbitrary file retrieval.
Patch, then assume compromise.
Upgrade RiSearch and RiSearch Pro to a version in which show.pl no longer dereferences untrusted URLs without strict validation. The vulnerable script should be modified to reject user-supplied absolute URLs and disallow dangerous URI schemes, especially file and other nonessential protocols. If remote retrieval is required for functionality, enforce a strict allowlist of permitted schemes, hosts, and destinations, and ensure local file access cannot be triggered through URL handling.
No validated public exploits yet. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.