Skip to content
RCE Advisory Intermediate

(0Day) WSO2 API Manager JMX Use of Hard-coded Credentials Remote Code Execution Vulnerability

The JMX RMI service in WSO2 API Manager uses a hard-coded password for the administrator user. An unauthenticated attacker could exploit this to execute arbitrary code with the service account's privileges.

Lukasz Wierzbicki Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of WSO2 API Manager. Authentication is not required to exploit this vulnerability.

Lukasz Wierzbicki, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The JMX RMI service is configured with a hard-coded administrator password, allowing anyone who knows it to authenticate and execute code.

Impact

An unauthenticated remote attacker could execute arbitrary code with the privileges of the service account.

What the attacker needed

Network access to TCP port 11111; knowledge of the hard-coded password

The fix

The vendor stated it would not fix the issue; the only mitigation is to restrict network access to the JMX RMI service.

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.

This report describes a service that comes with a built-in password that never changes. Anyone who knows that password can log in as an administrator and run their own commands on the server. The vendor was told about the problem but chose not to fix it.

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 Zero Day Initiative

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.