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

Update wordpress-reflected-xss-cve-2019-20141.yaml #23

Merged
merged 1 commit into from
Feb 15, 2021
Merged

Update wordpress-reflected-xss-cve-2019-20141.yaml #23

merged 1 commit into from
Feb 15, 2021

Conversation

ghsec
Copy link
Contributor

@ghsec ghsec commented Jan 8, 2021

signature returns false result if host redirect to endpoint like

Location: Endpoint?path=/admin/data/autosuggest-remote.php?q=<img src=x onerror=alert(1)>

I added in detection part

StringSearch("resHeaders", "<img src=x onerror=alert(1)>") && StatusCode() != 301 && StatusCode() != 302

now it works without false

signature returns false result if host redirect to endpoint like

```
Location: Endpoint?path=/admin/data/autosuggest-remote.php?q=<img src=x onerror=alert(1)>
```
I added in detection part 

```
StringSearch("resHeaders", "<img src=x onerror=alert(1)>") && StatusCode() != 301 && StatusCode() != 302
```
now it works without false
@j3ssie j3ssie merged commit 450a88a into jaeles-project:master Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants