Menu

#1729 (in 2.6.4) XSS in cookie login

2.6.3-pl1
fixed
1
2013-06-11
2005-07-19
No

XSS when using somethin like this as Username:

><script>alert('Test');</script>

Discussion

  • Marc Delisle

    Marc Delisle - 2005-07-20
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2005-07-20

    Logged In: YES
    user_id=210714

    I cannot reproduce the problem. You just enter this string
    on the login page as the username?

     
  • Andreas Kerber

    Andreas Kerber - 2005-07-20

    Logged In: YES
    user_id=1315163

    Yes on the login page. Maybe it has something to do with
    the used MySQL Version (4.0.15).

    You can try our 2.6.3pl1 installation on
    http://web1.phpmyadmin.speedkom.net to verify.

     
  • Marc Delisle

    Marc Delisle - 2005-07-20

    Logged In: YES
    user_id=210714

    Ok I see it on your site. Please try this: in
    libraries/auth/cookie.auth.lib.php
    line 621 becomes:
    $conn_error = PMA_sanitize(PMA_DBI_getError());

     
  • Andreas Kerber

    Andreas Kerber - 2005-07-20

    Logged In: YES
    user_id=1315163

    Yes that seems to fix it, thanks.

     
  • Marc Delisle

    Marc Delisle - 2005-07-21

    Logged In: YES
    user_id=210714

    fixed in cvs

     
  • Marc Delisle

    Marc Delisle - 2005-07-21
    • priority: 5 --> 1
    • summary: XSS in cookie login --> (in 2.6.4) XSS in cookie login
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2005-09-10
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed