SMTP Server (JAMES SMTP Server 2.3.2)
The Apache James 2.3.2 mail server exposes an administrative remote administration interface on port 4555 that accepts a default root login, and from there an attacker can reset any user's password. The author uses this to take over the mindy mailbox over POP3, and notes that arbitrary command execution is also possible.
Published on medium.com
Apache James is a mail and news server and software framework written in Java. A bug in version 2.3.2 enables an attacker to execute arbitrary commands on the machine running the server.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker with access to the administration port could take over any mailbox and, per the report, execute arbitrary commands on the server.
What the attacker needed
Network access to port 4555; default admin credentials accepted
How it was found
- Scan the host and find the open mail and administration ports.
- Connect to the remote administration port and log in as the administrator.
- List the existing users with the listusers command.
- Reset a chosen user's password with the setpassword command.
- Log in to that user's mailbox over POP3 with the new password.
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 write-up has not been written yet. The Original tab links to the source.
A mail server runs the software that sends and receives email. This one also had a separate remote administration service on another port, and it let someone log in as the top-level administrator with default credentials. From there the attacker could change other people's passwords and read their mail, and the report says commands could be run on the server too.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.