Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-samlAPI, SaaS e identità

web-saml

⁨Attack SAML SSO — signature exclusion/wrapping (XSW), unsigned assertions, and comment/XXE tricks to forge authentication. Load on SAML SSO (SAMLResponse, ACS URL, IdP/SP), enterprise login, or "SAML". Signals: SAMLResponse base64 in POST, /saml/acs, <saml:Assertion>, Shibboleth/ADFS/Okta SSO.⁩

v2026.10.14-ee0e0c54 installazioni+4 in 7 giorni27 StelleMITsincronizzato 22 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-saml

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
Frgj1mp9NU…U/jGJXDQ==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchetto95ec3501…c5e6e0e3
95ec35012d2a…0dfec5e6e0e31 file · ⁦1.4 KB⁩
ScansioneBassonessuna segnalazione
La scansione non ha trovato nulla da segnalare in questa versione.Vedi la scansione completa
Sorgentegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-saml@ee0e0c5

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

When it applies

The app authenticates via SAML SSO — the browser POSTs a base64 SAMLResponse (an XML assertion signed by the IdP) to the SP's ACS endpoint. Break the signature validation and you forge login as anyone.

Why it works

SAML security rests entirely on the SP correctly validating the XML signature over the assertion. XML signature validation is notoriously error-prone: SPs accept unsigned assertions, validate the wrong element, or can be tricked by XML Signature Wrapping (XSW) — where a signed element is kept for validation but an injected unsigned assertion is what the app actually reads.

Method

  1. Capture & decode the SAMLResponse (Burp + SAML Raider extension). Identify what's signed (Response vs Assertion) and the NameID/attributes that set the user.
  2. Signature exclusion: strip the <ds:Signature> and send — some SPs accept unsigned assertions.
  3. XSW: wrap/inject a second assertion (or move the signature) so the validator checks the original signed blob but the app consumes your forged assertion with NameID=admin (SAML Raider automates the XSW variants).
  4. Comment injection: [email protected]<!---->.evil in NameID — some parsers read it as [email protected] post-canonicalization → login as admin.
  5. Other: key confusion (SP trusts attacker cert), XXE in the SAML parser (→ web-xxe), replay if no NotOnOrAfter/InResponseTo checks, Recipient/Audience not validated.

Gotchas

  • Identify the exact signed element first — XSW works by satisfying the validator while changing what's used.
  • If signatures are properly validated over the assertion with no wrapping bug, pivot to replay/audience/comment issues.
  • Prove with two accounts you own: forge from a low-priv login into a privileged NameID.

Verify success

Authentication as a different/privileged user via a forged or manipulated SAMLResponse the SP accepts.

References

PortSwigger SAML; SAML Raider; "On Breaking SAML" (XSW, Somorovsky et al.).

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileNoNo
Esegue comandi shellNoNo
Usa la reteNoNo
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

La scansione non ha trovato nulla da segnalare in questa versione.

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v2026.10.14-ee0e0c513 nov 2026ee0e0c595ec3501Firmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login