CVE-2012-6506 : Détail

CVE-2012-6506

Cross-site Scripting
A03-Injection
0.87%V3
Network
2013-01-24
00h00 +00:00
2017-08-28
10h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Multiple cross-site scripting (XSS) vulnerabilities in the Zingiri Web Shop plugin 2.4.0 for WordPress allow remote attackers to inject arbitrary web script or HTML via the (1) page parameter in zing.inc.php or (2) notes parameter in fws/pages-front/onecheckout.php.

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

Date de publication : 2012-04-25 22h00 +00:00
Auteur : Mehmet Ince
EDB Vérifié : Yes

############################################################################## Wordpress Zingiri Web Shop Plugin <= 2.4.0 Multiple XSS Vulnerabilities author...............: Mehmet Ince twitte...............: https://twitter.com/#!/mmetince mail.................: mehmet.ince@bga.com.tr software link........: http://www.zingiri.com affected versions....: tested on 2.3.0 and 2.4.0 # Exploit Title: Wordpress Zingiri Web Shop Plugin <= 2.4.0 Multiple XSS Vulnerabilities # Google Dork: # Date: 26 Apr 2012 # Author: Mehmet INCE # Software Link: http://downloads.wordpress.org/plugin/zingiri-web-shop.2.4.0.zip # Version: 2.4.0 and older. # Tested on: version of 2.3.0 and 2.4.0 with Ubuntu 11.10 Server with Firefox browser. ############################################################################## /* ## BASIC XSS PS: Exploitable without Authentication plugins/zingiri-web-shop/zing.inc.php line at 401. if ($process=='content' && $page!='ajax' && $page!='downldr') echo '<div class="zing_ws_page" id="zing_ws_'.$_GET['page'].'">'; Exploit: http://localhost/wordpress/?page=%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E 'page' variable isn't properly sanitized before being used. ## STORED XSS PS: Attacker should be logged for exploit. ./fws/pages-front/onecheckout.php line 27-29 if (!empty($_POST['notes'])) { $notes=$_POST['notes']; } and line 348 <textarea name="notes" rows="5" style="width: 100%"><?php echo $notes;?>&lt;/textarea&gt;<br /> 'notes' variable isn't properly sanitized before being used. That's very basic XSS vulnerabilities. But you dont need use fishing attack to target webpage's administrator. That application insert datas to database with that form. After your malicious code posted up, your javascrip code inserted to database with $_POST['notes'] variable. When administrator wanna see list of ordered items list. Javascript codes will come from database and start working on Authenticated admin user side. After that You can use browser keylogger with BT5 tools or can usee cookie grabber. */ step 1: Login to wordpress. step 2: Go to "Shop" menu. It's should be stay at banner. http://6.6.6.102/wordpress/?page_id=14 step 3: Than you'll see list ot items. Click one of them. http://6.6.6.102/wordpress/?page=details&prod=2&cat=1&page_id=14 step 4: You can pass that form action. That wont be problem..! Click to "Order" button. step 5: There is confirmation about the Shopping. Click "checkout" to pass that page. step 6: It's final stage. Put you javascript payload to "Additional comments/questions" form. After you click checkout button, that form will get all of these input data with POST method. step 7: Click to "Checkout"

Products Mentioned

Configuraton 0

Zingiri>>Zingiri_web_shop >> Version 2.4.0

Wordpress>>Wordpress >> Version -

Références

http://www.osvdb.org/81493
Tags : vdb-entry, x_refsource_OSVDB
http://www.securityfocus.com/bid/53278
Tags : vdb-entry, x_refsource_BID
http://secunia.com/advisories/48991
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.exploit-db.com/exploits/18787
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.osvdb.org/81492
Tags : vdb-entry, x_refsource_OSVDB