praetorian-inc / chariot-ui

Chariot Offensive Security Platform
https://preview.chariot.praetorian.com
MIT License
15 stars 6 forks source link

Generate an Info risk for login portals #141

Open treburn opened 1 week ago

treburn commented 1 week ago

Feature Description We want to be able to identify login portals and create an Info risk today (possibly a tag in the future)

Problem Customers want to understand where their login portals are on their perimeter.

noah-tutt-praetorian commented 1 week ago

The crawler has the ability to identify fields that accept input for high-priority assets at the moment.

Depending on the exact criteria you're looking for, a nuclei template can likely handle this type of detection without an additional capability.

michaelweber commented 1 week ago

Is this something that we want on all assets, or just high-profile assets we crawl?

There's a few approaches we can take:

  1. If it's high-profile assets only, we can run the crawler and then regex match the results for input fields along with the existence of text like "login", "sign up", "forgot my password", etc.
  2. If we want to run against every http/https asset, we could do a single GET on the page that follows redirects and do a similar lookup to those checks, it just won't be as thorough if the login page requires clicking a link on the page first.
treburn commented 1 week ago

I would say we want this for all assets in scope, not just high-profile assets. This ticket was created based on feedback from a recent customer call.

michaelweber commented 1 week ago

Make sense, so approach 2 from what I just edited in before you responded will probably make sense.

michaelweber commented 1 week ago

@noah-tutt-praetorian's Nuclei idea was most straightforward to solve this. I've added a Nuclei template in https://github.com/praetorian-inc/nuclei-templates/pull/126 to address this.

treburn commented 1 week ago

Let's hold for now before we deploy. We are working on a tagging solution and also want to test that template a bit.

michaelweber commented 1 week ago

No problem - when you're ready for us to integrate - let us know.

michaelweber commented 6 days ago

The Nuclei template is completed and has been tagged such that it will appear as a metadata attribute.