Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Active SSTI Razor BCheck #230

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Conversation

alp1n3-eth
Copy link
Contributor

Checks for the evaluation of arithmetic in server-side template injection scenarios using Razor (ASP.NET). The BCheck will insert a payload using the Razor syntax @() and if the evaluated output is seen in the response it will trigger and report the issue.

BCheck Contributions

  • BCheck compiles and executes as expected
  • BCheck contains appropriate metadata (name, version, author, description and appropriate tags)
  • Only .bcheck files have been added or modified
  • BCheck is in the appropriate folder
  • PR contains single or limited number of BChecks (Multiple PRs are preferred)
  • BCheck attempts to minimize false positives

Checks for the evaluation of arithmetic in server-side template injection scenarios using Razor (ASP.NET).
Copy link
Collaborator

@PortSwiggerWiener PortSwiggerWiener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for your submission. It looks good.

Copy link
Contributor

@Hannah-PortSwigger Hannah-PortSwigger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you for implementing the feedback :)

@Hannah-PortSwigger Hannah-PortSwigger merged commit 356ae33 into PortSwigger:main Sep 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants