Skip to content

Unauthorized Access to Transaction Details (by @RedHuntLabs) #4306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sampritdas8 opened this issue Apr 23, 2025 · 0 comments
Open

Unauthorized Access to Transaction Details (by @RedHuntLabs) #4306

sampritdas8 opened this issue Apr 23, 2025 · 0 comments

Comments

@sampritdas8
Copy link

sampritdas8 commented Apr 23, 2025

Hi @PanJiaChen ,
I'm Samprit Das from @redhuntlabs. I’ve identified a critical vulnerability in your application. Kindly review the attached report and address the issue at your earliest convenience.

Title: Unauthorized Access to Transaction Details

Observation: During testing it has been observed that the application allows unauthorized users to access transaction details and see routes. When we remove the session token from the cookie header then any user is able to access the transaction information and route details.

Severity: Critical (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Resources Affected:
http://192.168.1.9:9527/dev-api/transaction/list
http://192.168.1.9:9527/dev-api/routes

Affected code:
https://github.com/PanJiaChen/vue-element-admin/blob/master/mock/remote-search.js#L33
https://github.com/PanJiaChen/vue-element-admin/blob/master/src/api/role.js#L5

Technical Impact: The lack of proper session validation allows unauthorized access, leading to broken access control and potential data leakage of sensitive transaction details.

Business Impact: This vulnerability can result in privacy violations, loss of customer trust, and potential legal or regulatory consequences, especially if financial data is exposed.

Steps to reproduce:

  1. Login from the admin account and capture the request for the following endpoint in BurpSuite.
  2. Now remove the cookie and access token header from the request and observe the response.
    Image
  3. Now change the endpoint to /dev-api/routes and observe its response.
    Image

Remediation:
Implement strict session validation on the server side for every request. Ensure that access to sensitive endpoints like transaction details is restricted based on valid, authenticated session tokens. Additionally, enforce proper access control checks to verify user authorization before displaying any sensitive information.

@sampritdas8 sampritdas8 changed the title Unauthorized Access to Transaction Details Due to Missing Session Validation (by @RedHuntLabs) Unauthorized Access to Transaction Details (by @RedHuntLabs) Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant