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

[FALSE-POSITIVE] weaver-checkserver-sqli #11123

Closed
iuliu8899 opened this issue Oct 31, 2024 · 0 comments · Fixed by #11124
Closed

[FALSE-POSITIVE] weaver-checkserver-sqli #11123

iuliu8899 opened this issue Oct 31, 2024 · 0 comments · Fixed by #11124
Assignees
Labels
Done Ready to merge false-positive Nuclei template reporting invalid/unexpected result

Comments

@iuliu8899
Copy link
Contributor

Template IDs or paths

  • weaver-checkserver-sqli

Environment

  • OS: macOS 15.0.1
  • Nuclei: v3.3.5
  • Go: go1.23.2 darwin/arm64

Steps To Reproduce

nuclei -u https://oa.sphchina.com/api/package_search -id weaver-checkserver-sqli

Relevant dumped responses

HTTP/1.1 200 OK
Connection: close
Content-Length: 62
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 31 Oct 2024 13:24:43 GMT
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Server: nginx
Set-Cookie: route=bcb2674bf1bcc09bb4c7af61369aa97f; Path=/
Set-Cookie: __clusterSessionIDCookieName=f7d5ffc9-218c-4f0a-92bb-9b352431c230; path=/
Set-Cookie: __clusterSessionCookieName=E3D7F262DD88E49DCA8489743CDD2C5E; path=/
Set-Cookie: ecology_JSessionid=aaaVj6JgAubmLaEtrDbkz; path=/

{"msg":"登录信息超时","errorCode":"002","status":false}

Anything else?

it's differnet for goevaluate function treat " and \".

"contains(body, 'error\":\"system error') && !contains(body, 'securityIntercept')"

this dsl in goevaluate will be treat as

contains(body, 'error":"system error') && !contains(body, 'securityIntercept')

which is not correct since goevaluate would consider " as a Quote mark but not a character in string.

@iuliu8899 iuliu8899 added the false-positive Nuclei template reporting invalid/unexpected result label Oct 31, 2024
@ritikchaddha ritikchaddha added the Done Ready to merge label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge false-positive Nuclei template reporting invalid/unexpected result
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants