Repository navigation
Commit 7e38057
committed
Detect an exposed MuleSoft APIkit console
A MuleSoft APIkit application serves an auto-generated API Console, meant for
development. Left on in production it publishes the whole API definition to
anyone and lets them call the API from the browser. A read only rule looks for
the console at the paths it is usually mounted on and confirms it by the element
that boots the console in the page, so it fires only on the real console, not a
soft 404. The fix, turning the console off with apikit.console.disabled or
removing its flow, is in the remediation.
The rule is read only, a plain GET, and is confirmed against a control, in
keeping with the no false positive bar.1 parent c96c1ee commit 7e38057
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments