setup.php publicly accessible without authentication #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
setup.phphas no access control. Any visitor can request it from a browser and trigger a table creation attempt against the database. The file is meant to be run once and then deleted, but there is no enforcement mechanism.Location
setup.php, entire fileRisk
Exposing
setup.phpconfirms to an attacker that the application is OpenLongr, reveals the database table name (LONGR) and schema (columnsid,text,country), and confirms whether the application is freshly installed. This information reduces the reconnaissance effort needed for a targeted attack. If the file is never deleted (common in practice), it remains a persistent information disclosure endpoint.Suggested fix direction
setup.phpmust be deleted after first use.Severity
minor
Found by
Automated audit by Claude Code