XSS
The report describes multiple stored cross-site scripting vulnerabilities on Tokopedia, including in a product complaint image description field, a shop location parameter, an AngularJS-based etalase name, and a customer support system. An attacker could execute arbitrary JavaScript in other users' browsers when they view the affected pages.
TO
Tokopedia
Subdomain takeover
A subdomain of Tokopedia pointed via CNAME to an expired domain that the researcher could buy. After purchasing and pointing it to a free host, the researcher took over the subdomain and could potentially steal cookies via XSS, though a certificate warning limited the attack.
TO
Tokopedia
XSS
A chat voucher feature on Tokopedia accepted unsanitised HTML in a JSON request, allowing an attacker to inject markup into the page shown to a victim. The report claims this could modify the web page presented to users, but does not demonstrate script execution or data theft.
TO
Tokopedia
XSS
An old API documentation page was still accessible on port 80, exposing sensitive API details including client ID and secrets, and a reflected XSS vulnerability existed in the 'url' parameter of the import functionality. An attacker could craft a link to execute script in a victim's browser, potentially stealing cookies.
TO
Tokopedia
Account takeover
The password reset flow accepted a fixed OTP code of 000000 appended to the reset URL, allowing an attacker to reset any account's password without knowing the real one-time code. An attacker could take over a victim's Tokopedia account by supplying a new password.
TO
Tokopedia
IDOR
$135
The cart and wishlist endpoints trusted user-supplied identifiers (X-User-ID, Tkpd-UserId, user_id) instead of checking the authenticated session, so an attacker could view, add, change, or delete items in another user's cart and add items to their wishlist.
TO
Tokopedia
IDOR
$135
The like/dislike endpoint for product reviews accepted a user_id parameter, allowing an attacker to change the user_id to another user's ID and remove some parameters to bypass authentication, thereby manipulating the number of likes without user interaction.
TO
Tokopedia
CSRF
The GraphQL endpoint accepted state-changing requests authenticated only by session cookies and did not enforce CSRF protections, so an attacker could craft a form that submits a JSON-like body as text/plain to perform actions on behalf of a logged-in user. This allowed adding products, changing profile data, and potentially stealing wallet funds by adding an attacker bank account.
TO
Tokopedia