One month ago my static source code analyser for vulnerabilities in PHP scripts called "RIPS" has been released during the
MOPS and I haven't announced it at sla.ckers yet. You can find a small paper about it
here, a blogpost
here and the open source files over
here. I recommend to read about the limitations before firing RIPS at big code trees like wordpress and expecting too much ;)
Here are some features:
* detect XSS, SQLi, File disclosure, LFI/RFI, RCE vulnerabilities and more
* 5 verbosity levels for debugging your scan results
* mark vulnerable lines in source code viewer
* highlight specific variables in source code viewer
* user-defined function code by mouse-over on detected call
* list of all user-defined functions and program entry points (user input) connected to the source code viewer
* create CURL exploits for detected vulnerabilties with few clicks
* 7 different syntax highlighting colour schemata
* only minimal requirement is a local webserver with PHP and a browser (tested with Opera and Firefox)
RIPS is written in PHP itself and can be controlled by a webinterface:
Unlike other static code analyser RIPS tries to not only point out vulnerable lines but also to actively assist in reviewing the vulnerability. I constantly try to improve RIPS and just released a new version (0.31) but keep in mind it is still beta. Since it is open source I hope to find some guys giving feedback, ideas, code snippets or anything else that helps improving this tool.
If you want to help here is what you could be interested in:
PHP developer:
- check detection of PHP characteristics
- improve scanner code
- improve scanner performance
- e.g.: would it be nicer to handle the config by XML without decreasing performance?
PHP security enthusiast:
- check potentially vulnerable functions (PVF) list
- check vulnerability detection
- e.g.: does it find backticks?
interested in automatic code analysation:
- check efficency
- model improvement (inter-procedual, data-flow, etc)
JavaScript enthusiast:
- improve JS code
- add new JS code
- e.g.: I want to add window resizing, the smaller the code the better
Designer:
- edit/add some cool code highlighting schemata (CSS)
- change the whole RIPS design?
Or just feel free to use it of course! :)