Likes Likes:  0
Resultaten 1 tot 3 van de 3
Geen
  1. #1
    jessica soules
    phpBB Code EXEC (v2.0.10)
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    phpBB Code EXEC (v2.0.10)



    _ _ ______ _
    | | | | | _ \ | |
    | |_| | _____ __ | | | |__ _ _ __| | __
    | _ |/ _ \ \ /\ / / | | | / _` | '__| |/ /
    | | | | (_) \ V V / | |/ / (_| | | | <
    \_| |_/\___/ \_/\_/ |___/ \__,_|_| |_|\_\
    http://www.howdark.com

    ----------------------------------------------------------------------------------------------------------------------------------
    // Information
    ----------------------------------------------------------------------------------------------------------------------------------

    Author: How Dark
    Date: October 1, 2004
    URL: http://www.howdark.com

    Affected Software: phpBB 2
    Software Version: 2.0.* - 2.0.10
    Software URL: http://www.phpbb.com

    Attack: SQL Injection, allowing people to minipulate the query into pulling data
    they should not previously be able too obtain. (Such as passwords)
    Arbituary EXEC allows you, if you can get on to a new line, to execute
    your own PHP, which can be fatal.

    Description: Because of the way urldecode and magic quotes works,
    it turns %2527 into %27, which is a single quote, and it
    leaves it unslashed. This gives you a SQL Injection, leading
    to arbituary PHP exec hole. But because you can't get outside
    preg_replace because of magic quotes, this is very very useless.

    ----------------------------------------------------------------------------------------------------------------------------------

    xxx

    ----------------------------------------------------------------------------------------------------------------------------------
    // Description
    ----------------------------------------------------------------------------------------------------------------------------------

    Highlighting %2527 on any topic.

    ----------------------------------------------------------------------------------------------------------------------------------

    xxx

    ----------------------------------------------------------------------------------------------------------------------------------
    // URL
    ----------------------------------------------------------------------------------------------------------------------------------

    viewtopic.php?t=1&highlight=%2527

    ----------------------------------------------------------------------------------------------------------------------------------

    xxx

    ----------------------------------------------------------------------------------------------------------------------------------
    // Error
    ----------------------------------------------------------------------------------------------------------------------------------

    Parse error: parse error, unexpected T_STRING in viewtopic.php(1109) : regexp code on line 1

    Fatal error: Failed evaluating code: preg_replace('#\b(')\b#i', '\1', '>POST TEXT HERE<') in viewtopic.php on line 1109

    ---------------------------------------------------------------------------------------------------------

    xxx

    ;eof

  2. #2
    deane10@sbcglobal.net
    phpBB Code EXEC (v2.0.10)
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: phpBB Code EXEC (v2.0.10)

    Add these into the mod_security rules:

    SecFilterSelective ARG_highlight "(\x27|%27|\x2527|%2527)"
    SecFilterSelective THE_REQUEST "\x27|%27|\x2527|%2527"

    issue resolved...

  3. #3
    Ron van Daal
    phpBB Code EXEC (v2.0.10)
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: phpBB Code EXEC (v2.0.10)


    Version 2.0.10 ??? Did you also tried the -latest- phpBB ???

    This issue has been reported multiple times and finally resolved over half a year ago. The last known code-injection bug regarding the hilighting code was fixed in phpBB version 2.0.16.

    Grt,
    Ron

    On Mon, 27 Nov 2005 deane10@sbcglobal.net wrote:

    > Add these into the mod_security rules:
    >
    > SecFilterSelective ARG_highlight "(\x27|%27|\x2527|%2527)"
    > SecFilterSelective THE_REQUEST "\x27|%27|\x2527|%2527"
    >
    > issue resolved...
    >


Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics