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

dalfox not able to detect input xss injection #388

Open
SergejFrank4242 opened this issue Jun 24, 2022 · 3 comments
Open

dalfox not able to detect input xss injection #388

SergejFrank4242 opened this issue Jun 24, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@SergejFrank4242
Copy link

Describe the bug

Hey there!
First of all, thanks for this great tool.

When testing dalfox against a known xss vulnerability within an input field, the scan unfortunately returned no result

<input type="email" id="email" name="email" value="FUZZ HERE" placeholder="E-Mail">

Known Working Payload

"onfocus=alert(1) autofocus="

Am i doing something wrong? Or why does dalfox not finding this for me :(

Environment

  • Dalfox Version: v2.7.5
  • Installed from: go-get
@SergejFrank4242 SergejFrank4242 added the bug Something isn't working label Jun 24, 2022
@hahwul
Copy link
Owner

hahwul commented Jun 25, 2022

Hi @SergejFrank4242
Thank you for submit issue!

First of all, it is normal to detect the pattern from Injected Attribute, but it is a pity that it could not be detected.
I think we need to know the cause. is it possible to share log this part?

스크린샷 2022-06-25 오후 11 53 22

The dalfox may be not detect if the Reflection not found or Reflection has a Invalid Badchar pattern.

@SergejFrank4242
Copy link
Author

SergejFrank4242 commented Jun 27, 2022

[I] Reflected email param => PTYPE: URL Injected: /inATTR-double(1) { ; ` : + $ - , [ } = ) ] . \ ( |
901 line: me="email" value="DalFox"placeholder="E-Mail" /><

it looks like dalfox does not detect that " would be allowed

@hahwul
Copy link
Owner

hahwul commented Jul 4, 2022

@SergejFrank4242
From the log alone, I think dalfox decided there's no ".
I think, this is bug, I'll check it 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants