What is HTTP Header Injection?

Provido

Katılımcı Üye
21 Eki 2015
477
1
Hello, dear Turk Hack Team family. Today I will tell you about “Network Security”.
Let’s examine the important topics.



Titles in the Topics


• What is HTTP Header Injection?

• What is Injection?

• How to Secure the system?

• Why and ho does HTTP Header Injection occur?

• How can we detect HTTP Header Injection?

• Exploitation and use of HTTP Header Injection


KdAL5U.png



What is HTTP Header Injection?


fGe04T.png



HTTP Header Injection is a vulnerability that occurs when Hyper Text Transfer Protocol (HTTP) headers are the result of dynamic url header generated in a user input.

If the incoming cookies and responses come from an untrusted source, the attacker may then execute the action.

In this case, the attacker could gain access to the user’s information and privileges.

Header Injection can allow powers and situations such as response splitting, session fixing, cross-site command-line and file creation, malicious user and information routing.

Some of the reasons for the headline injection are the storage of hidden and confidential data in cookies.


What is Injection?


K3xBa8.png



Injections are operations that allow us to “hack” the target system using a vulnerability or weakness.

Thanks to the Injections, we can benefit form the vulnerabilities that occur or exist in the systems and as a result e can have certain information and powers by deceiving the system.

At the same time, many types of injection have emerged due to the multiplicity of injection process.

Injections are quite common procedures today. At the same time injections can be applied in many ways. Most of the injections used today are for databases.


KdAL5U.png



How to Secure the System?

The data controlled by the user shouldn’t be copied or copying should be prevented. Also the data must be verified.

Packages that enter my site from outside or as a third party must be blocked.

The system should be given the necessary filters. Confidential data or information shouldn’t be saved on cookies or stored in cookies.


Why and how HTTP Header Injection occur?


The main reasons for this deficit are:

It can be done for reasons such as CRLF Injection vulnerability, Lack of safety mechanisms and impairment, using Cross Site Scripting (XSS) vulnerabilities, information hidden in cookies and malicious use of cookies.


How can we detect HTTP Header Injection?


While performing HTTP Header Injection detection, HTTP Header Injection process is tried to be applied on the system detected.

Then the factors that may cause HTTP Header Injection are checked on the system and tried to be determined. In addition, while HTTP header Injection detection can be performed, large-scale inspections can be made on other types of vulnerabilities that trigger the situation in the system.


Exploitation and use of HTTP Header Injection


HTTP Header Injection may cause situations to be exploited to perform the injection is attempted. In addition, the main reason for HTTP Header Injection play a major factor in the execution of the injection.

This injection can be performed by attempting to inject a specific text titles into header.

Also, in this injection type, many ways can be followed for injection.


KdAL5U.png



Yes, Turk Hack Team family. This is all. See you in my next topic. Peace.


giphy.gif



Source: https://www.turkhackteam.org/siber-guvenlik/1869957-http-baslik-enjeksiyonu-xowly.html

Translator: Provido
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.