Rips Scanners (0.5) exposed local File Inclusion Vulnerability

Source: Internet
Author: User
Tags php source code

Rips Scanners (0.5) exposed local File Inclusion Vulnerability

RIPS is a source code analysis tool written in php. It uses static analysis technology to automatically discover potential security vulnerabilities in PHP source code. Penetration testers can easily review the analysis results without reviewing the entire program code.

Due to the limitations of static source code analysis, whether the vulnerability exists is still required by the Code reviewer. RIPS can detect XSS, SQL Injection, file leakage, and Header Injection vulnerabilities.

Http://rips-scanner.sourceforge.net/

In the RIPS code. php file

$ File = $ _ GET ['file']; $ marklines = explode (',', $ _ GET ['lines']); $ ext = '. '. pathinfo ($ file, PATHINFO_EXTENSION); if (! Empty ($ file) & is_file ($ file) & in_array ($ ext, $ FILETYPES) {$ lines = file ($ file ); // place line numbers in extra table for more elegant copy/pasteout line numbers echo ''; for ($ I = 1, $ max = count ($ lines ); $ I <= $ max; $ I ++) echo "'; echo'
$ I File Inclusion Vulnerability

The usage is as follows:

Http: // localhost/rips/windows/code. php? File =/var/www/html/index. php
Invalid file specified.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.