Sharetronix <= 3.1.1 Cross-Site Request Forgery Vulnerability
The application does not verify the validity of HTTP requests for certain actions, allowing an attacker to change configuration settings or create an administrative user by tricking a logged-in administrator into visiting a malicious site.
karmainsecurity.com
Published on karmainsecurity.com
The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to e.g. change certain configuration settings or create a user with administrative privileges by tricking a logged in administrator into visiting a malicious…
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 application does not use anti-CSRF tokens or other request validation for state-changing actions.
Impact
An attacker could change configuration settings or create an administrative user, but only if a logged-in administrator is tricked into visiting a malicious site.
What the attacker needed
Victim is a logged-in administrator; victim visits a malicious web site
The fix
The application should be fixed by adding request validity checks, such as anti-CSRF tokens, to state-changing actions.
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.
This is a cross-site request forgery (CSRF) issue. When an administrator is logged in, their browser can be tricked into sending requests to the vulnerable site without the administrator's knowledge. Because the site does not check that the request is legitimate, an attacker can make changes like creating a new admin account.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.