[UNIX] XSS Vulnerability Found in phpBB (Highlight)

From: support@securiteam.com
Date: 11/21/02

  • Next message: support@securiteam.com: "[NEWS] Cisco PIX Multiple Vulnerabilities"
    From: support@securiteam.com
    To: list@securiteam.com
    Date: 21 Nov 2002 11:31:46 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    Beyond Security would like to welcome Tiscali World Online
    to our service provider team.
    For more info on their service offering IP-Secure,
    please visit http://www.worldonline.co.za/services/work_ip.asp
    - - - - - - - - -

      XSS Vulnerability Found in phpBB (Highlight)
    ------------------------------------------------------------------------

    SUMMARY

    phpBB is one of popular PHP bulletin board systems. A vulnerability in the
    viewtopic.php allows remote attackers to insert malicious JavaScript code.

    DETAILS

    Exploit:
    http://phpbb/phpBB/viewtopic.php?t=17071&highlight<Scr*ipt>javascript:alert(document.cookie)</Scr*ipt>

    Possible workaround:
    Open viewtopic.php and put this code:

    $highlight = htmlspecialchars($highlight);
    $highlight = PREG_Replace("/[A-Z&.;:()~!@#$%^''*\{\}\/]/i", "",
    $highlight);

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:arabviersus@hotmail.com>
    Arab VieruZ.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



    Relevant Pages

    • [EXPL] SLMail PASS Buffer Overflow
      ... The following exploit code can be used to test your SLMail ... # Discovered by: Muts # ... The information in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [EXPL] Xsun (Sparc) Local Exploit (RGB_DB)
      ... struct TREE { ... main(int argc, char *argv) ... The information in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [UNIX] Posix_getpw* Ignores Safe_mode and Open_basedir Settings
      ... thus allowing a user to rebuild a complete ... user to know what accounts have what privileges and what accounts have ... The information in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [UNIX] php(Reactor) Cross Site Scripting Vulnerability
      ... Therefore, any user may construct a malicious link, gain ... the $fid and $tid variables should be integers. ... The information in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [NEWS] Active! mail Script Execution Vulnerability
      ... HREF="http://www.transware.co.jp/ ">TransWARECo. is a web-based e-mail ... malicious <script> tag in the header, the script will be executed upon the ... The information in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)