Giter Club home page Giter Club logo

Comments (9)

enygma avatar enygma commented on August 16, 2024

As in "you're using PHP X and we know about these 5 issues patched since then" kind of thing?

from iniscan.

xsist10 avatar xsist10 commented on August 16, 2024

That's the idea. There is now version switching in the code and the idea of
ini scanning is to secure the current environment based on its
configuration. And your version is part of that configuration.
On 07 Dec 2013 12:06 AM, "Chris Cornutt" [email protected] wrote:

As in "you're using PHP X and we know about these 5 issues patched since
then" kind of thing?


Reply to this email directly or view it on GitHubhttps://github.com//issues/59#issuecomment-30033687
.

from iniscan.

xsist10 avatar xsist10 commented on August 16, 2024

Here's a gist concept: https://gist.github.com/xsist10/7878272

from iniscan.

enygma avatar enygma commented on August 16, 2024

Hmm, I wonder if this would be better as a "vulnerability check" kind of command rather than just the regular scan command especially since not all of the CVEs are related directly to ini settings.

I do wonder if this might be stretching things a bit too far though...

from iniscan.

xsist10 avatar xsist10 commented on August 16, 2024

Tthere aren't any tools out there to inform you of your PHP version vulnerabilities (beyond running something like sudo apt-get upgrade php5 in Ubuntu/Debian). Since a lot of production environments tend to stick to stable versions and update infrequently, the versions can get out of date quite quickly.

I agree with having a separate command for it.

from iniscan.

enygma avatar enygma commented on August 16, 2024

I'm on the fence about this - it almost seems like it could be a separate tool rather than trying to get it into this one. Thoughts?

from iniscan.

xsist10 avatar xsist10 commented on August 16, 2024

Well what is the objective of the tool?

1. Ensure that your PHP environment is following best security practices.

Then it should be included. It could mean adding things like this as well:

  • Process owner for web execution (not running script execution as root)
  • PHP Extension versions and vulnerabilities
  • Is Suhoshin installed?

2. Or ensure that your php.ini configuration ONLY is following best security practices.

Then probably not.

Just FYI, I've been looking around and I can't find a single non-OS/distro specific tool that will tell you if your PHP version is vulnerable. The only tools out there are software updaters for distros like Ubuntu/Debian/etc (which are not always accessable to the developer). I definitely see a need for a portable PHP tool that can fill this hole.

from iniscan.

enygma avatar enygma commented on August 16, 2024

I think it's probably best to split it off so I start this one up:
https://github.com/psecio/versionscan

from iniscan.

enygma avatar enygma commented on August 16, 2024

closing this off since the other project is up and going.

from iniscan.

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.