Wide-open dev CORS with no auth in front
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at the CORS configuration used when running bin/rails server and inspect how Rails.env.local? enables the wildcard origin. Reproduce the preflight from the issue, then verify that localhost/LAN origins remain allowed while evil.example.com cannot read or delete local data.
Written by the indexing model from the issue text.
Description
Verified: a preflight from http://evil.example.com gets 200 and Access-Control-Allow-Origin: *, since Rails.env.local? covers both development and test. Any page a developer visits while bin/rails server is running can read and delete their local data. Narrow dev origins to localhost/LAN patterns.
- Dominant language
- TypeScript
- Stars
- 9
- Forks
- 4
- Avg merge
- 9h 34m
- Merged PRs (30d)
- 16
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rubyforgood/alongwithyou
-
bug RFG Conference ruby severity:minor triage
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
rubyforgood/alongwithyou#173 ·
-
needs-verification
Difficulty 1/5 Under an hour Newbie friendliness 72/100
rubyforgood/alongwithyou#100 ·
-
needs-verification
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rubyforgood/alongwithyou#99 ·
-
severity:minor
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rubyforgood/alongwithyou#95 ·
-
good first issue severity:minor
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rubyforgood/alongwithyou#93 ·
All issues in rubyforgood/alongwithyou
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100