{"id":20493881,"url":"https://github.com/qeeqbox/os-command-injection","last_synced_at":"2026-03-07T07:34:14.151Z","repository":{"id":176212650,"uuid":"655160386","full_name":"qeeqbox/os-command-injection","owner":"qeeqbox","description":"A threat actor may inject arbitrary operating system (OS) commands on target","archived":false,"fork":false,"pushed_at":"2025-07-26T21:10:39.000Z","size":1381,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T01:12:02.214Z","etag":null,"topics":["command","infosecsimplified","injection","os","os-command-injection","qeeqbox","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["qeeqbox"]}},"created_at":"2023-06-18T04:32:06.000Z","updated_at":"2025-07-26T21:10:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e4f7f36-9da4-4e0d-963c-6f697b06f027","html_url":"https://github.com/qeeqbox/os-command-injection","commit_stats":null,"previous_names":["qeeqbox/os-command-injection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qeeqbox/os-command-injection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fos-command-injection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fos-command-injection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fos-command-injection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fos-command-injection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qeeqbox","download_url":"https://codeload.github.com/qeeqbox/os-command-injection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fos-command-injection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"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":["command","infosecsimplified","injection","os","os-command-injection","qeeqbox","vulnerability"],"created_at":"2024-11-15T17:37:14.424Z","updated_at":"2026-03-07T07:34:09.142Z","avatar_url":"https://github.com/qeeqbox.png","language":null,"funding_links":["https://github.com/sponsors/qeeqbox"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/qeeqbox/os-command-injection/main/os-command-injection.png\"\u003e\u003c/p\u003e\n\nA threat actor may inject arbitrary operating system (OS) commands on target\n\n## Example #1\n1. Threat actor crafts a malicious request to a vulnerable target\n2. The target process the malicious request and returns the result\n\n## Code\n#### Target-Logic \n```php\n$result = exec(\"ping -c4 \".$_GET[\"ip\"]);\necho($result)\n```\n\n#### Target-In\n```\nx 2\u003e/dev/null || whoami\n```\n\n#### Target-Out\n```\nroot\n```\n\n## Impact\nHigh\n\n## Names\n- Command Injection\n\n## Risk\n- Read \u0026 write data\n- Command execution\n\n## Redemption\n- Input validation\n\n## ID\n154d5db5-9614-42f9-9898-3355a7b7848f\n\n## References\n- [wiki](https://en.wikipedia.org/wiki/sql_injection)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqeeqbox%2Fos-command-injection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqeeqbox%2Fos-command-injection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqeeqbox%2Fos-command-injection/lists"}