GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — Security: Force positional arguments to always be arguments to avoid options injection · Issue #1517 · gitpython-developers/GitPython Closed DescriptionThis is somehow related to #1515, but as a more broad problem. Gitpython exposes some methods to interact with the git program, but gitpython fails to validate/escape the arguments (user-input), resulting in the user being able to pass options to the final git command, this doesn't seem bad, but git exposes some options ( One example is the Line 1219 in 17ff263
But an option can be passed as well, leading to RCE, a full working example is: import git r = git.Repo.init('/tmp/test', bare=True) r.clone("--upload-pack=touch /tmp/pwn") A usual solution is to add Other options could be:
ref #1515 (comment). Activity
MetadataMetadataAssigneesTypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |