Flagging Flaws Micro Cms v1
The Micro-CMS v1 application has broken access control allowing unauthorised editing of articles by changing the page ID, and cross-site scripting (XSS) in article titles and bodies. An attacker could modify content and execute scripts in other users' browsers.
Published on infosecwriteups.com
Welcome to “Flagging Flaws: Hacker101 Micro-CMS v1,” where we gon find those vulnerabilities within this machine. Join me as we navigate the box Micro-CMS v1, identifying flaws and gettin those flags :)
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
Impact
An attacker could modify articles without permission and execute scripts in victims' browsers, potentially leading to session hijacking or phishing.
What the attacker needed
Access to the web application; victim views the affected page
How it was found
- Navigate to the edit page of an article and change the page ID in the URL to access another article.
- Inject a script tag into the article title to trigger an alert when the title is displayed.
- Inject an anchor tag with an onmouseover event into the article body to trigger an alert on hover.
- Append a SQL injection payload to the edit page URL to attempt database manipulation.
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 report describes a simple content management system where you can create and edit articles. Two main problems were found: first, you can edit any article just by changing the number in the web address, even if you shouldn't have permission. Second, you can insert malicious code into an article's title or body, which then runs in the browser of anyone who views that article, potentially stealing their information or performing actions on their behalf.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.