Re: [Full-disclosure] URI handling woes in Acrobat Reader, Netsc

看板Bugtraq作者時間18年前 (2007/10/10 04:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/9 (看更多)
Glynn Clements ha scritto: > Modifying individual programs to protect against a shell-injection bug > in Windows' URI handler is a workaround (mitigation strategy), not a > fix. I repeat. Nowhere is said that ShellExecute (the default "run stuff" function) takes URLs. It takes strings. A desktop shortcut called "www.google.com" can hijack execution of "www.google.com" (without a "http://" prefix), and many other similar issues. If you pass a path to it, it damn better had to be an absolute path. If you pass an URL, it damn better had to be normalized. If your application handles documents that can include URLs, you *must* implement normalization, goddamn it (stop pasting strings together, fuckers, the sorry state of security is entirely your goddamn fault! Skype.exe is 22 MB, surely there is room in there for a normalization routine) This is an issue of ambiguous strings that could be URLs or could be not. It does suck that older applications will remain vulnerable until a fix (if you want to lobby, lobby right. Work that angle), but I still maintain that, in principle, this is the fault of sloppy third party developers
文章代碼(AID): #172-RL00 (Bugtraq)
討論串 (同標題文章)
完整討論串 (本文為第 8 之 9 篇):
文章代碼(AID): #172-RL00 (Bugtraq)