web-cors
Exploit CORS misconfiguration to read cross-origin responses (data theft). Load when an API reflects Origin into Access-Control-Allow-Origin, allows credentials cross-origin, or trusts null/subdomains. Signals: ACAO reflects your Origin, ACAC: true, `Origin`-dependent responses.
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-corsScrive in ~/.notholy/skills dopo aver controllato la firma e lo SHA-256.
FirmaFirmato, ed25519
Pacchetto515c0fa8…efe52445
515c0fa83c4b…64b5efe524451 file · 1.1 KBScansioneBasso1 segnalazione
- Link a domini esterni
Sorgentegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-cors@ee0e0c5
Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.
In questa pagina
When it applies
An endpoint returns sensitive data and sets CORS headers that let an attacker origin read the response with the victim's credentials.
Why it works
CORS lets a server opt-in to cross-origin reads. If it reflects the request Origin into
Access-Control-Allow-Origin and sets Access-Control-Allow-Credentials: true, any site can
make the victim's browser send an authenticated request and read the response — cross-origin data theft.
Method
- Probe: send requests with
Origin: https://evil.comand inspect response headers. Vulnerable if ACAO echoes your origin (ornull) AND ACAC istrue. - Test weak allowlists:
Origin: https://evil.comvshttps://sub.target.com.evil.com,https://targetevil.com,null(via sandboxed iframe), and non-TLS variants — many regexes are sloppy. - Exploit: host JS on your origin that
fetch(url, {credentials:'include'})the sensitive endpoint and exfils the response to you; load it as the victim.
Gotchas
ACAO: *without credentials can't read authed data — only origin-reflection +ACAC:true(or a same-site secret) is impactful.nullorigin is reachable from sandboxed iframes/data: URLs — a real bypass, not theoretical.- Prove it reads sensitive data (tokens, PII); reflecting on a public endpoint is informational.
Verify success
Your attacker-origin page reads a victim-authenticated response it should not be able to (e.g. the victim's API key/PII exfiltrated to your server).
References
PortSwigger CORS labs; OWASP CORS guidance.
File di questa versione
- SKILL.md2.1 KB
Permessi
| Permesso | Dichiarato | Trovato dalla scansione |
|---|---|---|
| Legge file | No | No |
| Scrive file | No | No |
| Esegue comandi shell | No | No |
| Usa la rete | Sì | Sì |
| Usa i connettori | No | No |
| Controlla un browser | No | No |
Segnalazioni della scansione
Rivisto il 13 nov 2026
- InfoLink · Link a domini esterni
Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.
| Versione | Pubblicata | Commit | SHA-256 | Firma | Cambio di permessi |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 nov 2026 | ee0e0c5 | 515c0fa8 | Firmata | – |
Altro da NoorQureshi
Tutto da questo editoreAltro in Web e bug bounty
Vai alla categoria- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
Chiedi tutto quello che il tuo perimetro consente.
Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.
- 1/3
Crea l'account
Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.
PrivatoAzienda - 2/3
Aggiungi crediti
Con carta. Paghi a token, senza abbonamento.
$5.00ricarica minima - 3/3
Chiedi
In chat, oppure installa la CLI ed esegui notholy login nel terminale.
$ notholy login