HTTP HOST header fake

Post

Just a quick tip, if you use the HOST: header in your applications, remember, don't use it anywhere critical to security because it can be faked by someone with the know how. I know that there is some popular blogging software out there.... that had previously used $_SERVER['HTTP_HOST'] to include a file, if it is faked that is insecure.

Comments

Leave a comment

November 2026
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Share