Cross Site Request Forgery vulnerability Leads to User Profile Change in Microsoft Express Logic
A form on the Microsoft Express Logic site accepted profile updates without an anti-CSRF token, so a page hosted elsewhere could submit changes on a logged-in user's behalf. An attacker could alter a victim's name, company, position, phone, website and address details without knowing their credentials.
Published on web.archive.org
{{media:0}}
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
Root cause
Likely the profile update endpoint accepted POST requests without validating an anti-CSRF token tied to the user's session.
Impact
A logged-in victim who opens the attacker's page could have their profile details, including name, company, position, phone, website and address, silently changed.
What the attacker needed
Victim is logged in; victim opens attacker's page
How it was found
- Build an HTML page containing a form that posts the profile fields to the site's admin-ajax endpoint.
- Save the page locally as an HTML file.
- Send the page to the victim and get them to open it while logged in.
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.
When you are logged in to a site, your browser sends your session cookie with every request to that site. Cross-site request forgery tricks your browser into sending a request the site trusts, because it comes from your logged-in session, even though you never meant to send it. The fix is a secret token in each form that the attacker's page cannot know.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.