Federated shares are not password protected
Federated shares between two servers are not protected by a password stored encrypted in the database. If an attacker compromises only the database of one server, they could obtain access to data on the other server through the federated share.
- Disclosed after 59 days
Hi again,
So more from me. Bare with me because this is a highly theoretical issue. But I never the less thing it should be mitigated. Or at least disclosed.
Premissie:
- user1 on serverA has a federated share established with user2 on serverB
- the database (not the full system) of serverB is compromised
Now since federated shares are not created with a password which is stored encrypted in the database this means that an attacker to serverB obtains access to data on serverA directly.
Now I am aware that if serverB is fully compromised the password could also be decrypted using the server secret
Impact
Using federated sharing exposes the servers to a much larger attack service currently. Since an attacker on a different system can obtain access to data on your system as well. In some cases easier than to the target system.
I'd recommend to make sure that there is a password set that is stored encrypted. And that there is a way for admins to obtain a list of federated servers they need to notify in case they had a breach of their own system.
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 who compromises only one server's database could obtain access to data on another server through existing federated shares, though the author notes that a full server compromise would also allow decryption of stored secrets.
What the attacker needed
An existing federated share between two servers; database compromise of one server
The fix
Federated shares should require a password that is stored encrypted, and admins should be able to list federated servers to notify after a breach.
How it was found
- Set up a federated share between a user on one server and a user on another server.
- Compromise only the database of the second server.
- Use the federated share records from that database to access data on the first server.
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.
Federated sharing lets two separate servers share files with each other. This report says that when such a share is set up, no password is stored in a protected (encrypted) form, so someone who steals only the database of one server might be able to reach files on the other server. The author admits the scenario is theoretical.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.