Oracle padding exploit - how does it download the web.config?

前端 未结 6 2158
梦毁少年i
梦毁少年i 2021-02-09 17:47

I know there are already a few questions on SO about the oracle padding exploit but none of them explain how it downloads the web.config. I run a couple of ASP .NET apps which I

6条回答
  •  名媛妹妹
    2021-02-09 18:38

    afaik it goes like this:

    • these are hit: webresource.axd and scriptresource.axd, both use an encrypted/signed value that asp.net tries to check if its valid
    • because of differences in the response when the files are or not valid, they can make the padding attack.
    • once the attack is successful they can generate a request for a resources as if it were originally emitted from asp.net

    Now, as far as I knew, both of those are supposed to serve embedded resources, but I guess that's not the case (Scott Gu did mention in his post's comments those are the ones being used in the attack showed).

提交回复
热议问题