Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.
This repository was archived by the owner on May 14, 2020. It is now read-only.

Vulnerable regexp in rule 933160 #1358

@s0md3v

Description

@s0md3v

The vulnerable regular expression is located in /crs/rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf on line 337. [Link]

The vulnerability is caused by nested repetition operators and can be exploited with the following string

set_error_handler########################################################

PS: For some reason, I was unable to reproduce it in Python engine but it works perfectly with PHP (Tested via RegexBuddy) and gives a complexity of about 2*n.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions