<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Guillaume SH</b> <span dir="ltr">&lt;<a href="mailto:gsh.debianlists@gmail.com">gsh.debianlists@gmail.com</a>&gt;</span><br>
Date: 2009/2/1<br>Subject: Re: A basic implementation for increased security in wine proposal<br>To: Marcus Meissner &lt;<a href="mailto:marcus@jet.franken.de">marcus@jet.franken.de</a>&gt;<br><br><br>Hi Marcus,<br><br>I stand corrected, as it appears I was way too naive in my understanding of software security, hence the example I provided.<br>
<br>Regarding you explanation justifying there is no need to protect API against misuse, I am still not convinced, but I will think about it and try to get to a thorough understanding.<br>
<br>Thank you for clarifying,<br>Guillaume<br><br><div class="gmail_quote"><div class="Ih2E3d">2009/2/1 Marcus Meissner <span dir="ltr">&lt;<a href="mailto:marcus@jet.franken.de" target="_blank">marcus@jet.franken.de</a>&gt;</span><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Sun, Feb 01, 2009 at 10:41:25AM +0100, Guillaume SH wrote:<div><div></div><div class="Wj3C7c"><br>
&gt; Hi Paul,<br>
&gt;<br>
&gt; You asked me to actually describe the security I am concerned about, so I am<br>
&gt; going for it :<br>
&gt;<br>
&gt; Imagine an ill-intentioned people, call it the attackers. By the mean of<br>
&gt; simply creating the following C application (based on classical &quot;Hello<br>
&gt; word&quot;) :<br>
&gt;<br>
&gt;<br>
&gt; #include needed header<br>
&gt;<br>
&gt; int main (int argc, char * argv[])<br>
&gt; {<br>
&gt; &nbsp; &nbsp; /* printf ( &quot;Hello world!&quot; ); */<br>
&gt; &nbsp; &nbsp; GetOverlappedResult(0, NULL, NULL, FALSE);<br>
&gt;<br>
&gt; &nbsp; &nbsp; return EXIT_SUCCESS;<br>
&gt; }<br>
&gt;<br>
&gt;<br>
&gt; Running this application on wine, I get to have my crash, with the<br>
&gt; possibility of an exploit. So all I have to do know is to find a vector to<br>
&gt; make you and some other people willing to run my application.<br>
&gt;<br>
&gt; I won&#39;t describe in detail the way to perform the exploit as :<br>
&gt; &nbsp; &nbsp; &nbsp; 1 - I don&#39;t know how to proceed and I don&#39;t want to<br>
&gt; &nbsp; &nbsp; &nbsp; 2 - It would be showing poor sense of responsibilities<br>
<br>
</div></div></div><div><div></div><div class="Wj3C7c">If you can run an application ... it already can do everything!<br>
<br>
No need to protect APIs against misuse, they run at the same privilege<br>
level as your code.<br>
<br>
Ciao, Marcus<br>
</div></div></blockquote></div><br>
</div><br>