CVE-2004-2061: RiSearch show.pl Server-Side Request Forgery and Local File Read
- Vendor
- Risearch
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No validated public exploits yet. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2004-2061 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-2061 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-2061?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2004-2061.
- Is there a patch for CVE-2004-2061?
- 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.
- What products are affected by CVE-2004-2061?
- Risearch and Risearch Pro.
- How severe is CVE-2004-2061?
- CVE-2004-2061 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 5.7% (93rd percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.