top of page
Search

Lab: Exploiting vulnerabilities in LLM APIs

ree

This lab contains an OS command injection vulnerability that can be exploited via its APIs. You can call these APIs via the LLM.

Ask the LLM what APIs it has access to. The LLM responds that it can access APIs controlling the following functions:

  • Password Reset

  • Newsletter Subscription

  • Product Information

ree

Consider the following points:

  • You will probably need remote code execution to delete Carlos' morale.txt file. APIs that send emails sometimes use operating system commands that offer a pathway to RCE.

  • Since you don't have an account, testing the password reset will be challenging. The Newsletter Subscription API is a better initial testing target.

ree

  • Ask the LLM what arguments the Newsletter Subscription API takes.

ree

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page