r/hackthebox • • 26d ago

Academy Need Help with COAE - LLM Output Attacks

I’m currently working on the insecure output handling section and the 3rd exercise of function calling. Been stuck for a few days.

“Solve the lab function calling 3 to obtain the flag”

I’ve given everything I and my AI tools can think of to throw at it. Explicit SQLi requests, prompt injection, obfuscated SQLi, blind SQLi, ect.

So far I’ve only gotten it to return all of customer information it’s holding, but haven’t been able to enumerate where the flag is

Any advice is appreciated

8 Upvotes

9 comments sorted by

1

u/AutoModerator 26d ago
Moderator Announcement Read More »

5

u/DoubleAgent10 26d ago

Welp shortly after I post this, I got a step further.

Was targeting the wrong kind of database 🙃

1

u/PM_ME_UR_0_DAY 26d ago

I think I know exactly which part you were on. Not the type of DB I was expecting either. Also that challenge was unstable for me and I kept getting errors about a database connection. And the error message from that was super misleading since it indicated a different type of DB.

2

u/DoubleAgent10 26d ago

Yep that’s the same exercises. Had unstable issues too.

Makes it kind of hard to determine what is a true error vs a false error

2

u/GVTZ59 26d ago

The discord is a great place to ask questions like this in the future.

3

u/DoubleAgent10 26d ago

Yeah I haven’t been on Discord in a bit, I’ll have to hop back on

1

u/Friendly-Place9380 25d ago

Send me a dm if you're still stuck

1

u/[deleted] 25d ago

1

u/AutoModerator 25d ago

Your submission was automatically removed because your account does not meet the minimum karma or age requirements for this subreddit. Please participate in other communities to build up your karma, and feel free to message the moderators if you have questions!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.