# Header Based content profile

**URL:** <https://community.f5.com/t/header-based-content-profile/58335>\
**Category:** Technical Forums\
**Tags:** asm-advanced-waf, devops, security\
**Created:** [September 3, 2020, 5:52am UTC](https://community.f5.com/t/header-based-content-profile/58335 "2020-09-03T05:52:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![THE\_BLUE](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@THE\_BLUE](https://community.f5.com/u/THE_BLUE)\
**Post date:** [September 3, 2020, 5:52am UTC](https://community.f5.com/t/header-based-content-profile/58335/1 "2020-09-03T05:52:02Z")

</div>

If i have form with

```tcl
Content-Type: multipart/form-data; boundary ................

```

that require file upload , when any file attached it is give attack signature detect. i have tried to add some change under specific url ex:

application security \> url \> advanced \> Header Based content profile \>

**Request header Name :Content-Type**

**Request Header Value : \*multipart/form-data\***

**Request Body Handling : Do nothing**

so now is there any risk on doing this ? meaning that if there is a real attack it will be blocked or not?

and how f5 intercept the attach file?

---

<div class="post-metadata">

**Author:** ![Lidev](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/lidev/32/3447_2.png) [@Lidev](https://community.f5.com/u/Lidev)\
**Post date:** [September 3, 2020, 10:24am UTC](https://community.f5.com/t/header-based-content-profile/58335/2 "2020-09-03T10:24:33Z")

</div>

Hello Blue,

Yes there’s a risk, it’s not recommended not to check the body on request with multipart .

Did you try to set the parameter called during this request in Data type : File upload as in the screenshot below ?

 ![image_257692.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/d/d51e50d0760feda8cb9ad81b6ffa681580ff1c20.png)

Regards

---

<div class="post-metadata">

**Author:** ![THE\_BLUE](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@THE\_BLUE](https://community.f5.com/u/THE_BLUE)\
**Post date:** [September 7, 2020, 5:45am UTC](https://community.f5.com/t/header-based-content-profile/58335/3 "2020-09-07T05:45:08Z")

</div>

Hello Lidev,

Yes I did , but the issue still there.

Does ASM inspect the file (pdf,jpg and so on ) ? or what exactly ?

---

<div class="post-metadata">

**Author:** ![Lidev](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/lidev/32/3447_2.png) [@Lidev](https://community.f5.com/u/Lidev)\
**Post date:** [September 7, 2020, 9:58am UTC](https://community.f5.com/t/header-based-content-profile/58335/4 "2020-09-07T09:58:21Z")

</div>

Hi BLUE,

Yes, ASM does carries out certain checks on file upload : [myF5](https://support.f5.com/csp/article/K01235989)

Can you specify which signature attack is raised and its details ?

Regards

---

<div class="post-metadata">

**Author:** ![THE\_BLUE](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@THE\_BLUE](https://community.f5.com/u/THE_BLUE)\
**Post date:** [September 8, 2020, 11:38am UTC](https://community.f5.com/t/header-based-content-profile/58335/5 "2020-09-08T11:38:31Z")

</div>

example :

“arp” execution attempt , but no detalis in payload related to files type.

but sometimes i can see in payload pdf , jpg and so on. something like encoding.

is there any change i have to apply under attack signature in learning and blocking settings?

how can i understand where ASM detect the attack ?

because sometimes i can not understand (only letters and characters ).

do i have to enable attack signature in policy based on server technologies or what ?

appreciate your help.

---

<div class="post-metadata">

**Author:** ![Lidev](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/lidev/32/3447_2.png) [@Lidev](https://community.f5.com/u/Lidev)\
**Post date:** [September 8, 2020, 12:39pm UTC](https://community.f5.com/t/header-based-content-profile/58335/6 "2020-09-08T12:39:37Z")

</div>

If the violation raised by ASM is “arp execution” it’s because ASM has revealed during the analysis of the request certain elements which make it think of a command execution attack.

If you think it’s a false positive, you can disable the signature attack on the item (url/parameter) that raised the violation.

You cannot see in detail what analysis and performed by the ASM on signature attacks, these elements are protected so that we cannot bypass this security part.

Adding the server technologies used by your servers in the ASM policy can indeed at first glance limit false positives

---

<div class="post-metadata">

**Author:** ![THE\_BLUE](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@THE\_BLUE](https://community.f5.com/u/THE_BLUE)\
**Post date:** [September 8, 2020, 5:54pm UTC](https://community.f5.com/t/header-based-content-profile/58335/7 "2020-09-08T17:54:37Z")

</div>

so since “arp execution” is related to linux , and in server technologies linux not there , so i can remove linux attack signture from this policy right?

---

<div class="post-metadata">

**Author:** ![Lidev](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/lidev/32/3447_2.png) [@Lidev](https://community.f5.com/u/Lidev)\
**Post date:** [September 9, 2020, 7:50am UTC](https://community.f5.com/t/header-based-content-profile/58335/8 "2020-09-09T07:50:05Z")

</div>

If your backend servers don’t use a Linux system, yes it’s a good start to not overload the ASM with unnecessary signature attacks.
