Giter Site home page Giter Site logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
I can confirm that this issue is present on a number of sites, including those 
using the older WordThumb.php script (before it was merged into TimThumb).
WebShots are disabled by default, but a number of WordPress themes (as 
mentioned in the above FD mailing list link) have enabled the feature.

I strongly advise disabling the WebShot feature until a fix is deployed.

The command line built on lines 967 and 969 is the problem area.
https://code.google.com/p/timthumb/source/browse/trunk/timthumb.php#967

A good place to start is with replacing the double quotes around the parameters 
in that string with single quotes, which should prevent the shell doing any 
further expansions.

Original comment by [email protected] on 25 Jun 2014 at 1:47

from timthumb.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Hi - looks like this is only an issue if:

1) webshots is enabled
2) you have CutyCapt and XVFB installed on your server

as such the threat is limited. However it's still best to make sure you disable 
webshots until the flaw is fixed.

To do that make sure the following code is in TimThumb:

define (‘WEBSHOT_ENABLED’, false);

Original comment by BinaryMoon on 26 Jun 2014 at 9:28

  • Changed state: Accepted

from timthumb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.