Jailbreaking GPT-4V via Self-Adversarial Attacks with System Prompts
This work addresses security risks in MLLMs for developers and users, revealing exploitable vulnerabilities that could facilitate or defend against attacks, though it is incremental as it builds on existing jailbreak research.
The paper tackles the problem of jailbreaking Multimodal Large Language Models (MLLMs) like GPT-4V by exploiting system prompt vulnerabilities, achieving a 98.7% attack success rate through a self-adversarial method and showing that modified system prompts can reduce jailbreak success.
Existing work on jailbreak Multimodal Large Language Models (MLLMs) has focused primarily on adversarial examples in model inputs, with less attention to vulnerabilities, especially in model API. To fill the research gap, we carry out the following work: 1) We discover a system prompt leakage vulnerability in GPT-4V. Through carefully designed dialogue, we successfully extract the internal system prompts of GPT-4V. This finding indicates potential exploitable security risks in MLLMs; 2) Based on the acquired system prompts, we propose a novel MLLM jailbreaking attack method termed SASP (Self-Adversarial Attack via System Prompt). By employing GPT-4 as a red teaming tool against itself, we aim to search for potential jailbreak prompts leveraging stolen system prompts. Furthermore, in pursuit of better performance, we also add human modification based on GPT-4's analysis, which further improves the attack success rate to 98.7\%; 3) We evaluated the effect of modifying system prompts to defend against jailbreaking attacks. Results show that appropriately designed system prompts can significantly reduce jailbreak success rates. Overall, our work provides new insights into enhancing MLLM security, demonstrating the important role of system prompts in jailbreaking. This finding could be leveraged to greatly facilitate jailbreak success rates while also holding the potential for defending against jailbreaks.