Skip to content

fix: add authentication check in report.php (CWE-287) - #2

Closed
anupamme wants to merge 1 commit into
cwillam:mainfrom
anupamme:fix-repo-ap1-tracker-report-api-rate-limit-cwe-287
Closed

anupamme wants to merge 1 commit into
cwillam:mainfrom
anupamme:fix-repo-ap1-tracker-report-api-rate-limit-cwe-287

Conversation

@anupamme

Copy link
Copy Markdown

The api/report.php endpoint accepts POST requests without any authentication, session validation, or API key requirement. While honeypot-based spam protection exists, there is no mechanism to verify the identity of the submitter or prevent abuse by authenticated malicious actors. The affected code is api/report.php:1, and this change addresses it.

Reference: CWE-287

What changed

  • api/report.php

Verification

No automated check could be run against this repository, so this change is unverified beyond review. Please treat it as a suggestion.

Automated security fix generated by OrbisAI Security
@cwillam cwillam closed this Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants