Bug Bounty catches part -1
An unauthenticated CKFinder file uploader on an old CMS subdomain allowed image uploads to the main site, and a read-only user could view PostgreSQL connection details including the password through the Pool info tab. A removed project member could still download updated invoices via a static link.
Published on web.archive.org
Hi hunters , again I gonna share some of my findings which I found few month ago . This article have divided into 3 parts , each part describe about my finding .
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 upload image files to the main site without authentication, a read-only user could obtain the PostgreSQL password, host and username, and a removed member could keep downloading updated invoices containing sensitive information.
What the attacker needed
Access to the old CMS subdomain; a paid plan with the Pool feature; a read-only account; a developer account and an invoice link
The fix
The invoice issue was fixed quickly; the text does not state fixes for the uploader or the Pool info disclosure, which should require authentication and proper role checks.
How it was found
- Run directory discovery against the app subdomain and find /admin redirecting to an old CMS login.
- Run directory discovery against the old CMS host and find an unauthenticated CKFinder uploader.
- Upload image files, which are stored under the main site's uploads path.
- As an admin, create a PostgreSQL service with a Pool and open its info tab to see the connection URI.
- Log in as a read-only user and open the Pool info tab to see the same URI with password, host and username.
- Copy an invoice link as a developer, get removed from the project, then open the same link to download the updated invoice.
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.
A file uploader meant for administrators was reachable without logging in, so anyone could put image files on the main website. Separately, a user with limited permissions could see a database password that should have been hidden, and someone removed from a project could still open its invoice link.
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.