Skip to content
RCE Disclosed report Beginner

Blind Command Injection #1

The text-to-speech API passed unsanitised user input to a shell command, allowing command injection. An attacker could run arbitrary commands on the backend server and hear the output through speakers.

bugify12334 Follow

Originally disclosed on HackerOne

High 8.4 View original
  • Triaged in 28 hours
  • Fixed in 4 months
  • Disclosed after 4 months

Summary by the program

OS Command injection on text-to-speech functionality API.

Summary by the researcher

This issue arised because of the generic text to speech conversion tool being used here in the web application & because of the fact that the user input data was not being sanitised before taking it to the server for output of the inputed data.

According to the issue, it was observed that espeak a Ubuntu command line tool was being used at the backend, because of which it was quite generic to just use simple command injection payloads, like

User Input:

hey `whoami`

At the backend: 

user1@ubuntu: espeak hey `whoami`

On the frontend:

output: hey user1

Because of this, it allowed a full access to the backend server which was running the command.

Use of the speakers here was quite important as you could hear the output of the command injection through you speakers, which turned out to be pretty cool! :D

Thanks to 8x8 team for fixing and validating this issue.

The original report as published on HackerOne, by bugify12334. 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

Impact

An attacker could execute arbitrary commands on the backend server, gaining full access.

What the attacker needed

Access to the text-to-speech feature

The fix

The issue was fixed by the 8x8 team.

How it was found

  1. Enter a command injection payload into the text-to-speech input.
  2. The backend runs espeak with the unsanitised input.
  3. The injected command executes and its output is spoken through the speakers.

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.

When a website takes what you type and puts it directly into a system command, special characters like backticks can make the computer run extra commands. Here the site used a speech tool called espeak, so typing a command inside backticks made the server run it and speak the result.

What is RCE?

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

More by bugify12334

View all

1 more disclosed report, best first.

More from 8x8

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.