Overview
| Artifact ID: | 9f313465b7764853abab3d674d08d62145882418097adcf4ada8b7d3e013d776 |
|---|---|
| Ticket: | 21b0629c81fbe38ad153cd8fd899626200a66e15
0-day vulnerability - insufficient escape by exec of batch-files for windows |
| User & Date: | sebres on 2023-11-16 16:04:07 |
Changes
- icomment:
I meant only revert the special %-escape (so basically merge branch "fix-fb2fa9b3f6--percent-subst-regr"). Because the rest of [21b0629c81] is fully justified in my opinion, as well as more or less backwards compatible (unless one doesn't try to simulate special "raw" invocation by inject into old escape handling in order to get some special command line). But sure, I can do that, once I'd get the fossil to hand. Regarding the documentation, one'd then only need to meant that %-chars are not (yet) specially escaped, so by execution of comspec/batch/cmd windows would replace <code>%var%</code> with environment variables, and this way to become safe it could expect special handling by parameter escape, because may become "vulnerable" against double/triple quotes in whole command line.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"