Products

Solutions

Resources

/

/

LFI by adding new parameter

LFI by adding new parameter

This test evaluates the vulnerability of a web application to Local File Inclusion by introducing new parameters for potential file path manipulation

Local File Inclusion (LFI)

"Assesses the vulnerability of a web application to Local File Inclusion by introducing additional parameters for potential file path manipulation." "This test aims to identify any weaknesses that may allow an attacker to access sensitive files, leading to unauthorized data disclosure, server compromise, and potential execution of malicious code. It helps ensure the application's security and protect against LFI attacks"

"Assesses the vulnerability of a web application to Local File Inclusion by introducing additional parameters for potential file path manipulation." "This test aims to identify any weaknesses that may allow an attacker to access sensitive files, leading to unauthorized data disclosure, server compromise, and potential execution of malicious code. It helps ensure the application's security and protect against LFI attacks"

Impact of the vulnerability

Impact of the vulnerability

Successful exploitation allows an attacker to read arbitrary files on a web server, potentially leading to unauthorized access, information disclosure, server compromise, and execution of malicious code.

Successful exploitation allows an attacker to read arbitrary files on a web server, potentially leading to unauthorized access, information disclosure, server compromise, and execution of malicious code.

How this template works

APIs Selection

The template includes filters to select APIs based on their response code and HTTP method. It specifies that the response code should be between 200 and 299, and the method should contain "GET". These filters ensure that only relevant APIs are targeted for the test.

Execute request

The template uses a single execution type, which means that all the requests specified under the "execute" section will be executed in a single test run. The requests include adding various query parameters with file paths from the "filePaths" word list. This allows the test to check if the web application is vulnerable to Local File Inclusion by manipulating file paths.

Validation

The template specifies a validation rule for the response payload. It uses a regular expression to match a specific pattern in the response. In this case, it checks if the response payload contains the string "root:.*:0:0:". If the pattern is found, it indicates that the test has successfully exploited the vulnerability and accessed the sensitive file.

Frequently asked questions

What is the purpose of the "FILE_INCLUSION_NEW_PARAM" test in the array

What is the purpose of the "FILE_INCLUSION_NEW_PARAM" test in the array

What is the purpose of the "FILE_INCLUSION_NEW_PARAM" test in the array

What is the impact of a successful exploitation of the LFI vulnerability

What is the impact of a successful exploitation of the LFI vulnerability

What is the impact of a successful exploitation of the LFI vulnerability

What category and subcategory does the test belong to

What category and subcategory does the test belong to

What category and subcategory does the test belong to

What are the severity and tags associated with the test

What are the severity and tags associated with the test

What are the severity and tags associated with the test

What are the references provided for this test

What are the references provided for this test

What are the references provided for this test

What are the API selection filters applied to this test

What are the API selection filters applied to this test

What are the API selection filters applied to this test

Loved by security teams!

Loved by security teams!

Product Hunt Badge

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "

Rippling Company logo

Security team,

Rippling

Explore other tests

Suggest API security tests

Suggest API security tests

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.