ServiceStack GetErrorResponse Improper Input Validation NTLM Relay Vulnerability
The GetErrorResponse method in ServiceStack fails to properly validate user-supplied data, leading to a type confusion condition. An attacker could exploit this to relay NTLM credentials in the context of the current user.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to relay NTLM credentials on affected installations of ServiceStack. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
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
Likely improper validation of user-supplied data in the GetErrorResponse method leads to a type confusion condition.
Impact
An attacker could relay NTLM credentials in the context of the current user, potentially leading to unauthorized access.
What the attacker needed
Interaction with the library required
The fix
ServiceStack has issued an update to correct this vulnerability.
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 is a flaw in a software library called ServiceStack. When it handles certain input from a user, it doesn't check the input properly, which can confuse the program about what type of data it is dealing with. An attacker could use this confusion to trick the system into sending the user's login credentials (NTLM) to the attacker, who could then use them to impersonate the user.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.