Skip to content

Commit b20acbc

Browse files
committed
f
1 parent f9fa192 commit b20acbc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • src/pentesting-web/ssrf-server-side-request-forgery

src/pentesting-web/ssrf-server-side-request-forgery/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,17 @@ Some TLS stacks will auto-download missing intermediate CAs using the **Authorit
159159
The Java certpath debug output shows `CertStore URI:http://localhost:8080`, and `nc` captures the HTTP request with the controllable `User-Agent` from `-Dhttp.agent`, proving SSRF during certificate validation.
160160
- **DoS via file://**: setting AIA CA Issuers to `file:///dev/urandom` on Unix-like hosts makes Java treat it as a CertStore and read unbounded random bytes, keeping a CPU core busy and blocking subsequent connections even after the client disconnects.
161161

162+
## SSRF via CSS Pre-Processors
163+
164+
LESS is a popular CSS pre-processor that adds variables, mixins, functions and the powerful `@import` directive. During compilation the LESS engine will **fetch the resources referenced in `@import`** statements and embed ("inline") their contents into the resulting CSS when the `(inline)` option is used.
165+
166+
Check how to exploit it in:
167+
168+
{{#ref}}
169+
../xs-search/css-injection/less-code-injection.md
170+
{{#endref}}
171+
172+
162173
## [Wget file upload](../file-upload/index.html#wget-file-upload-ssrf-trick)
163174

164175
## SSRF with Command Injection

0 commit comments

Comments
 (0)