Skip to content
RCE Disclosed report Advanced

Unserialize leading to arbitrary PHP function invoke

The researcher found a way to invoke arbitrary PHP functions on the website, likely through an unserialize vulnerability. Although many harmful functions were already disabled, the issue could still cause serious damage if exploited.

someguyfromthepast Follow

Originally disclosed on HackerOne

Critical 10.0 View original
  • Triaged in 42 hours
  • Fixed in 6 days
  • Paid in 5 days
  • Disclosed after 9 months

Summary by the program

In this report, the researcher was able to demonstrate a method to run arbitrary PHP functions on www.rockstargames.com. Although we had previously disabled most harmful PHP functions, it was still possible to cause serious damage if this were to be exploited by a malicious party. To solve this issue, we secured the user input method that the researcher pointed out to us, and we disabled all PHP functions save for those that are absolutely crucial to maintaining and administering our site.

The original report as published on HackerOne, by someguyfromthepast. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely unsafe deserialisation of user input allowed the attacker to invoke arbitrary PHP functions.

Impact

An attacker could run arbitrary PHP functions, which could cause serious damage even though most harmful functions were disabled.

What the attacker needed

None stated

The fix

The user input method was secured and all non-essential PHP functions were disabled.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

PHP is a programming language used to build websites. Some PHP functions can be harmful, so if an attacker can call functions they choose, they might cause serious damage. This report shows the researcher found a way to do that, even though many dangerous functions were already turned off.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Rockstar Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.