CSRF allowing unauthorized modification of user Notes on ███████
The note-saving endpoint accepted cross-site form submissions without any CSRF protection, so a crafted page could change or delete a victim's shared notes. An attacker who knows the victim's client identifier could submit a malicious link that overwrites the notes when loaded.
- Fixed in 5 days
- Disclosed after 8 days
Summary:
A CSRF vulnerability allows an attacker to change a user's notes simply by clicking a link
The attacker can modify or delete all information the user left just by clicking a link
The root cause is that the endpoint ███████ does not appear to implement protection against CSRF attacks
Therefore, once the attacker knows the victim’s id, they can send a malicious link that will modify or completely delete the user’s notes
The complexity of this attack is that the attacker needs to be a member (invited) in the same organization as the victim on the site in order to obtain the victim’s correct ID to use in the link.
When you are a member of the organization you can obtain the victim’s ID very easily.
A second, less likely scenario is that the attacker guesses the victim’s ID as 1 if they are confident the user is newly registered on the site.
Steps To Reproduce:
- Log in to your account at ███████████ after placing an order on the site
- After logging in, you will see your Shared Notes field
- Enter any text into the Shared Notes field and click Save Note
- Open Burp Suite and go to the HTTP history tab
- Find the request for the endpoint POST
█████ - Right-click that request and choose
Engagement tools→Generate CSRF PoC - Edit the generated PoC so the
client_idparameter is set to the target victim’s ID - Upload the generated HTML file to any web hosting or your own site
- Visit the hosted page as a regular user (or trick the victim into visiting it). The victim’s Shared Note will be modified█████deleted when the page is loaded
Affected endpoint
Host: ████████████████████████
Cookie: ██████████
Content-Type: application██████████████x-www-form-urlencoded; charset=UTF-8
Te: trailers
Content-Length: 53
ajax=save_note&client_id={ID_victim}¬e=I+Hacked+YOU&area=client
CSRF PoC
<html>
<body>
<form action="███████████████">
<input type="hidden" name="ajax" value="save_note" ████████████████████████████>
<input type="hidden" name="client_id" value="{{ID_victim}}" ████>
<input type="hidden" name="note" value="i hack you" ███████████████████████████████████>
<input type="hidden" name="area" value="client" █████████>
<input type="submit" value="Submit request" ███████████████████>
<███████████form>
<script>
history.pushState('', '', '█████████████████████████████████');
document.forms[0].submit();
<█████████████████████████script>
<████body>
<██████████████████████████████html>
Supporting Material███████████References:
PoC Video
█████████████████████
Impact
- Unauthorized modification or deletion of a user’s Notes
- Loss of important data or contact information stored in notes
- Attacker can inject malicious links or social-engineering instructions into notes (enables phishing)
- Privacy████████████████████compliance risk if notes contain sensitive or regulated data
- Increased blast radius when attacker is a member of the same organization (easy access to victim
client_id) - Low-effort, high-impact exploitability once client_id is known — warrants High severity
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 the note-saving endpoint relied only on the session cookie and had no CSRF token or origin check, so any site could submit the form on the victim's behalf.
Impact
A victim's notes could be modified or deleted, and injected links or instructions in the notes could be used for phishing; the attacker needs the victim's client identifier, which is easy to get as a fellow organisation member but otherwise may require guessing.
What the attacker needed
Victim is logged in; attacker knows victim's client_id; victim loads attacker's page
How it was found
- Log in to the site after placing an order and open the Shared Notes field.
- Enter some text and save the note, then capture the resulting request in an intercepting proxy.
- Generate a CSRF proof-of-concept from that request and set the client identifier parameter to the victim's ID.
- Host the generated HTML page on any web server.
- Get the victim to load the page, which submits the form and changes or deletes their note.
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.
When you are logged in to a site, your browser automatically sends your session cookie with every request to that site. A cross-site request forgery (CSRF) bug means another website can make your browser send a state-changing request to the vulnerable site without you meaning to, and the site accepts it because it never checks that the request really came from its own pages. Here, loading a page silently submitted a form that saved new note text under the victim's account.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.