# crsf  Incorrect interception

**URL:** <https://community.f5.com/t/crsf-incorrect-interception/69338>\
**Category:** Technical Forums\
**Tags:** security\
**Created:** [March 3, 2022, 3:54am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338 "2022-03-03T03:54:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![小白](https://avatars.discourse-cdn.com/v4/letter/%E5%B0%8F/50afbb/32.png) [@小白](https://community.f5.com/u/%E5%B0%8F%E7%99%BD)\
**Post date:** [March 3, 2022, 3:54am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/1 "2022-03-03T03:54:44Z")

</div>

After I have configured crsf protection and my attack is intercepted, why will my normal operation be intercepted, and the normal access of other devices under the same LAN is also intercepted. I think this is a problem. In addition, I want to ask whether ASM has a list of blocked IP (not a manually configured blacklist)

---

<div class="post-metadata">

**Author:** ![SamCo](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@SamCo](https://community.f5.com/u/SamCo)\
**Post date:** [March 8, 2022, 7:45am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/2 "2022-03-08T07:45:50Z")

</div>

Hello,

With the limited information we have on your configuration, it’s hard to help you.

Anyhow, an ASM policy and related configuration is only taking effect on the virtual servers it is applied on.

So if it is having side effect on pool member outside of the one you wish, it is probably they are embedded on a virtual server you affect the configuration to. In that case, you could use the LTM policies to refine the URL and then pool member that are affected by the ASM policy.

Cheers

Sam

---

<div class="post-metadata">

**Author:** ![小白](https://avatars.discourse-cdn.com/v4/letter/%E5%B0%8F/50afbb/32.png) [@小白](https://community.f5.com/u/%E5%B0%8F%E7%99%BD)\
**Post date:** [March 8, 2022, 7:49am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/3 "2022-03-08T07:49:21Z")

</div>

Not so. I mean, after my computer IP attacks this vs, other computer IP’s normal access to this vs is also blocked. Why is this

---

<div class="post-metadata">

**Author:** ![SamCo](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@SamCo](https://community.f5.com/u/SamCo)\
**Post date:** [March 8, 2022, 7:59am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/4 "2022-03-08T07:59:03Z")

</div>

Ok, I realize i did not understand you were speaking about client sharing the same subnet, not servers.

From my understanding, the CSRF blocking you configured is matching normal application trafic. It’s hard to explain why without more detail on your configuration and application.

Cheers,

Sam

---

<div class="post-metadata">

**Author:** ![小白](https://avatars.discourse-cdn.com/v4/letter/%E5%B0%8F/50afbb/32.png) [@小白](https://community.f5.com/u/%E5%B0%8F%E7%99%BD)\
**Post date:** [March 8, 2022, 8:11am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/5 "2022-03-08T08:11:48Z")

</div>

when 192.168.1.21&nbsp; attack&nbsp; vs,blocking,this right

 ![_0-1646726709911.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/7/7103350b8d808c7343d4622c7f8894469f017ac5.png)

 ![_1-1646726911427.png](https://d20hrnpixdzcsd.cloudfront.net/original/3X/5/d/5d0501450a93c0cfe6ccb4a2a672184d336210b0.png)

but,when another ip 192.168.1.61 ，normal access to this url is also blocked,Why is that?

 ![_2-1646726964987.png](https://d20hrnpixdzcsd.cloudfront.net/original/3X/6/8/684d3e854a31721c43da97571c949eeac7598b86.png)

---

<div class="post-metadata">

**Author:** ![小白](https://avatars.discourse-cdn.com/v4/letter/%E5%B0%8F/50afbb/32.png) [@小白](https://community.f5.com/u/%E5%B0%8F%E7%99%BD)\
**Post date:** [March 8, 2022, 8:15am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/6 "2022-03-08T08:15:18Z")

</div>

This my policy’s setting

 ![_0-1646727195590.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/0/06b1e09f43995acc9fd695359d6e3dee0806f5c0.png)

 ![_1-1646727311385.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/a/aef12df2f8161b5897abe1ae15523c9a1b5a1780.png)

---

<div class="post-metadata">

**Author:** ![SamCo](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@SamCo](https://community.f5.com/u/SamCo)\
**Post date:** [March 8, 2022, 8:23am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/7 "2022-03-08T08:23:57Z")

</div>

I never go deep into csrf protection with F5 actually. Looking a this page could be a good start : [myF5](https://support.f5.com/csp/article/K11930)

CSRF violations

When the system detects a CSRF attack on a protected page, such as a request for a URL that does not include the appropriate token, the system issues a **CSRF attack detected** violation.

To prevent token hijacking, the system also supports token aging. If the token is expired, the system issues a **CSRF authentication expired** violation.

Looking at your URL, there is no token in the URL of the request that are send when you send ant attack, and there is one when you send a legitimate request. When it could be related to expiration in this token.

Cheers,

Sam

---

<div class="post-metadata">

**Author:** ![小白](https://avatars.discourse-cdn.com/v4/letter/%E5%B0%8F/50afbb/32.png) [@小白](https://community.f5.com/u/%E5%B0%8F%E7%99%BD)\
**Post date:** [March 8, 2022, 8:33am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/8 "2022-03-08T08:33:52Z")

</div>

Sorry, there is still no suitable solution

---

<div class="post-metadata">

**Author:** ![SamCo](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@SamCo](https://community.f5.com/u/SamCo)\
**Post date:** [March 8, 2022, 8:42am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/9 "2022-03-08T08:42:33Z")

</div>

10 seconds as expiration time is too short for a human i think, set at least 5 minutes if there is a form to fill,

Cheers

Sam

---

<div class="post-metadata">

**Author:** ![小白](https://avatars.discourse-cdn.com/v4/letter/%E5%B0%8F/50afbb/32.png) [@小白](https://community.f5.com/u/%E5%B0%8F%E7%99%BD)\
**Post date:** [March 9, 2022, 1:31am UTC](https://community.f5.com/t/crsf-incorrect-interception/69338/10 "2022-03-09T01:31:07Z")

</div>

不是因为时间。我试过了。即使我给 500 秒，它仍然会拦截正常的请求
