Lucene search
K

whois.cgi.txt

🗓️ 06 Jan 2001 00:00:00Reported by Marco van BerkumType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

Metacharacter bug in Fastgraf whois.cgi allows command execution as webserver UID.

Code
`Metacharacterbug in the Fastgraf whois.cgi perlscript  
-----------------------------------------------------  
  
Author : Fastgraf (c) All rights reserved.  
url : http://www.fastgraf.com  
realeasedate : 03/01/99  
  
Problem:  
The whois.cgi script of Fastgraf has almost no metacharcterchecking  
which enables attackers to execute commands as uid of the webserver.  
  
The metacharcterbug in the script:  
  
$FORM{'host'} =~ s/(\;)//g;  
  
As you can see only the ";" gets deleted. So attackers are still able  
to use pipes, redirectioncharacters and so on.  
  
Solution:  
  
Change the filtering to:  
  
$FORM{'host'} =~ s/(\W)/\\$1/g;  
  
The author has been notified to correct this problem.  
  
Marco van Berkum  
  
--  
Sex is like hacking. You get in, you get out,  
and you hope you didn't leave something behind  
that can be traced back to you.  
  
Marco van Berkum, System Operator/Security Analyst OBIT b.v.  
RIPEHANDLE: MB17300-RIPE  
  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation