![]() |
classifieds.cgi |
|
|
|
| FAQ | |||
|
|
SummarySomebody has accessed this potentially vulnerable script.
Details
The classifieds.cgi script was written by Greg Mathews and is widely used by many websites. Older versions of this script do not check the input. There are many ways it can be exploited either to grab unauthorized files from the server or break into it.
There are two specific FORM fields that are of concern. The first is the <input name=return> field. It is intended that the user could enter their e-mail address. However, the attacker can add shell metacharacters to this field in order to grab files or execute programs.
The second field is <input name=mailprog>, which tells the CGI script which program it should execute in order to send e-mail. The attacker can supplied whatever program (and parameters) he/she wants. This can be used to completely compromise the server.
| more information |
|
| ||||||||||
Version appeared: 2.5