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

fix: detect Kronos Workforce Central when strings are separated #11547

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

missing0x00
Copy link
Contributor

Template / PR Information

  • Fixed detection when all matcher words are found, but not in a continuous string
  • Some versions respond with "HostName - Workforce Central" rather than "Kronos Workforce Central"
  • Kronos is still listed in several places in the response
  • Also adds check for /wfc/logon endpoint

Template Validation

I've validated this template locally?

  • YES
  • NO

Additional Details

HTML response snippet:

<title>HOSTNAME - Workforce Central(R) - 8.1.14</title> 
<meta name="copyright" content="Copyright 2004-2005 Kronos Incorporated. All rights reserved.">

@DhiyaneshGeek DhiyaneshGeek self-assigned this Jan 29, 2025
@DhiyaneshGeek DhiyaneshGeek added the good first issue Good for newcomers label Jan 29, 2025
@GeorginaReeder
Copy link

Thanks so much for your contribution @missing0x00 ! :)

@missing0x00
Copy link
Contributor Author

You're welcome, thank you for the great tools! Nuclei Templates are powerful yet intuitive, love it. Looking forward to learning and contributing more.

@missing0x00
Copy link
Contributor Author

@DhiyaneshGeek The suggested changes would miss many instances unfortunately. Kronos is now part of UKG, so sometimes the title will be "UKG Workforce Central" or "Hostname - Workforce Central". My intent was to match when both Kronos and Workforce Central were listed in the page, but not the other strings.

See examples here:
https://www.shodan.io/search?query=http.title%3A%22Workforce+Central%28R%29%22

@DhiyaneshGeek
Copy link
Member

Hi @missing0x00

Thanks for letting us know, i have updated the template accordingly, let me know if these changes looks good

@DhiyaneshGeek DhiyaneshGeek added the Done Ready to merge label Feb 25, 2025
@missing0x00
Copy link
Contributor Author

I have not seen these in any Kronos/UKG WFC instance I have checked. They also should not be necessary if we have Kronos as an or match:

          - 'Kronos Dashboard'
          - 'Kronos Web Server'

condition: or may make this prone to false positives on any page with Kronos mentioned. However since we are requesting the specific /wfc/ endpoints, that should be okay.

This could simply be (R) as it indicates ®:

Workforce Central([(A-Z)]+)

@DhiyaneshGeek
Copy link
Member

Hi @missing0x00

Let me know if these changes looks good

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants