Lucene search
K

kaiseki.txt

🗓️ 08 Jul 2005 00:00:00Reported by blahplokType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

High risk remote command execution vulnerability in Kaiseki.cgi allows attackers to execute commands.

Code
`PNGƒJƒEƒ“ƒ^+—pƒƒO‰ðÍƒXƒNƒŠƒvƒg remote commands execution vulnerability  
  
Vendor URL : http://www.aurora.dti.ne.jp/~zom/Counter/  
Vulnerability : Remote Command Execution  
Risk : High  
  
  
==================================================================  
An attacker may exploit this vulnerability to execute commands on  
the remote host by adding special parameters to Kaiseki.cgi script.  
  
Problem:  
  
There is no filtering special character when open file in sub ReadLog.  
Vulnerable code :  
  
sub ReadLog  
{  
.......  
.......  
  
$imaLog = $$log;  
if(!open(IN, "./$main::logdir/$imaLog"))  
{  
.......  
.......  
}  
  
Fix :  
  
add :  
$$log =~ s/[;<>\*\|'&\$!?#\(\)\[\]\{\}:'"\\]//go;  
  
before :  
$imaLog = $$log;  
if(!open(IN, "./$main::logdir/$imaLog"))  
{  
.....  
}  
  
Example exploitasion :  
  
http://[target]/cgi-bin/kaiseki.cgi?file.exetension|command|  
or  
http://[target]/cgi-bin/kaiseki.cgi?|command|  
  
  
June 2005 : bug found  
July 7 2005 : vendor contact  
July 7 2005 : Vendor respon  
July 2005 : ----------  
  
==================================================================  
  
by blahplok  
`

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