Apr 06, 2025, 06:02 AM
sql injection in n8n endpoint.
|
WhiteRabbit Hack the Box Season 7 (Linux Insane)
by RedBlock - Saturday April 5, 2025 at 05:26 PM
|
|
Apr 06, 2025, 06:02 AM
sql injection in n8n endpoint.
Apr 06, 2025, 06:06 AM
im bob but where's the flag... ),:
Apr 06, 2025, 06:40 AM
Apr 06, 2025, 07:44 AM
Apr 06, 2025, 07:47 AM
Did I miss something important?
Apr 06, 2025, 07:54 AM
(Apr 06, 2025, 07:44 AM)samuelballsiu1 Wrote:http://a668910b5514e.whiterabbit.htb/en/...h_webhooks(Apr 06, 2025, 06:02 AM)unrecognized Wrote: sql injection in n8n endpoint. POST /webhook/d96af3a4-21bd-4bcb-bd34-37bfc67dfd1d HTTP/1.1 Host: 28efa8f7df.whiterabbit.htb -- this is n8n x-gophish-signature: sha256=cf4651463d8bc629b9b411c58480af5a9968ba05fca83efa03a21b2cecd1c2dd Accept: */* Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Type: application/json Content-Length: 81 { "campaign_id": 1, "email": "test@ex.com", "message": "Clicked Link" } i think in this POST is sqli but can't get it work - maybe somebody explain how to do it
Apr 06, 2025, 07:58 AM
(Apr 06, 2025, 07:54 AM)jsvensson Wrote:(Apr 06, 2025, 07:44 AM)samuelballsiu1 Wrote:http://a668910b5514e.whiterabbit.htb/en/...h_webhooks(Apr 06, 2025, 06:02 AM)unrecognized Wrote: sql injection in n8n endpoint. The email field is injectable, I was able to drop a table, just not able to get output. You need to set the gophish signature with the secret in the json. Anyone have a known valid email for the box?
Apr 06, 2025, 08:02 AM
(Apr 06, 2025, 07:58 AM)AncientNull Wrote:(Apr 06, 2025, 07:54 AM)jsvensson Wrote:(Apr 06, 2025, 07:44 AM)samuelballsiu1 Wrote:http://a668910b5514e.whiterabbit.htb/en/...h_webhooks(Apr 06, 2025, 06:02 AM)unrecognized Wrote: sql injection in n8n endpoint. I knew about signature, what is your payload to drop table?
Apr 06, 2025, 08:06 AM
(Apr 06, 2025, 08:02 AM)jsvensson Wrote:(Apr 06, 2025, 07:58 AM)AncientNull Wrote:(Apr 06, 2025, 07:54 AM)jsvensson Wrote:(Apr 06, 2025, 07:44 AM)samuelballsiu1 Wrote:http://a668910b5514e.whiterabbit.htb/en/...h_webhooks(Apr 06, 2025, 06:02 AM)unrecognized Wrote: sql injection in n8n endpoint. I was able to drop the victims table with "test@ex.com"; DROP TABLE victims;--" DON'T do that unless you want to restart the box. I think without a valid email we will always get "Info: User is not in database" back.
Apr 06, 2025, 08:08 AM
With SQLi you can extract juicy data. The signature can be calculated using sqlmap and the eval param
|
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Hack the box Pro Labs, VIP, VIP+ 1 month free Method | 29 | 2,673 |
2 hours ago Last Post: newuser201 |
||
| [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags | 41 | 3,322 |
2 hours ago Last Post: newuser201 |
||
| [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot | 95 | 8,727 |
7 hours ago Last Post: zxACASD |
||
| CBBH Write Ups | 26 | 6,686 |
Yesterday, 08:45 AM Last Post: d39ug |
||
| [FREE] HackTheBox Dante - complete writeup written by Tamarisk | 606 | 94,628 |
Yesterday, 08:36 AM Last Post: Gotoschool |
||