×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

LOG IN TO YOUR ACCOUNT

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR PASSWORD?

AAH, WAIT, I REMEMBER NOW!

CREATE AN ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • INFO

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

In level 1 of OverTheWire Natas, what restriction is imposed and how is it bypassed to find the password for level 2?

by EITCA Academy / Saturday, 05 August 2023 / Published in Cybersecurity, EITC/IS/WAPT Web Applications Penetration Testing, OverTheWire Natas, OverTheWire Natas walkthrough - level 0-4, Examination review

In level 1 of OverTheWire Natas, a restriction is imposed to prevent unauthorized access to the password for level 2. This restriction is implemented by checking the HTTP Referer header of the request. The Referer header provides information about the URL of the previous web page from which the current request originated. The restriction in level 1 specifically checks if the Referer header contains the value "http://natas0.natas.labs.overthewire.org/". If this condition is not met, the server responds with the message "You are not logged in." and does not reveal the password for level 2.

To bypass this restriction and find the password for level 2, we need to modify the Referer header of our request to match the expected value. One way to achieve this is by using a browser extension or a tool like Burp Suite to intercept and modify the request before it is sent to the server.

Let's take a step-by-step approach to bypass the restriction and find the password for level 2:

1. Open the level 1 challenge in your web browser and inspect the request being sent to the server. You can use the browser's developer tools or a proxy tool like Burp Suite for this purpose.

2. Look for the Referer header in the request headers section. It should contain the URL of the current page.

3. Modify the Referer header value to "http://natas0.natas.labs.overthewire.org/" to match the expected value.

4. Forward the modified request to the server and observe the response. If everything is done correctly, the server should respond with the password for level 2.

By modifying the Referer header to match the expected value, we trick the server into thinking that the request originated from the correct page, thereby bypassing the restriction and gaining access to the password for level 2.

It is worth noting that the Referer header can be easily modified by an attacker, which makes it a weak security control. In a real-world scenario, relying solely on the Referer header for access control would be considered insecure. However, in the context of this challenge, it serves as an introduction to the concept of bypassing simple access restrictions.

The restriction in level 1 of OverTheWire Natas is bypassed by modifying the Referer header of the request to match the expected value. This allows us to find the password for level 2 and proceed with the challenge.

Other recent questions and answers regarding Examination review:

  • In level 4 of OverTheWire Natas, what access restriction is in place and how is it bypassed to obtain the password for level 5?
  • How is the "robots.txt" file used to find the password for level 4 in level 3 of OverTheWire Natas?
  • What hidden element contains the password for level 3 in level 2 of OverTheWire Natas?
  • How can the password for the next level be found in level 0 of OverTheWire Natas?

More questions and answers:

  • Field: Cybersecurity
  • Programme: EITC/IS/WAPT Web Applications Penetration Testing (go to the certification programme)
  • Lesson: OverTheWire Natas (go to related lesson)
  • Topic: OverTheWire Natas walkthrough - level 0-4 (go to related topic)
  • Examination review
Tagged under: Access Restriction Bypass, Cybersecurity, HTTP Referer Header, OverTheWire Natas, Penetration Testing, Web Application Security
Home » Cybersecurity » EITC/IS/WAPT Web Applications Penetration Testing » OverTheWire Natas » OverTheWire Natas walkthrough - level 0-4 » Examination review » » In level 1 of OverTheWire Natas, what restriction is imposed and how is it bypassed to find the password for level 2?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (105)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Medium publ.)
  • About
  • Contact

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.
Eligibility for EITCA Academy 90% EITCI DSJC Subsidy support
90% of EITCA Academy fees subsidized in enrolment

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on X
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF) in series of projects since 2007, currently governed by the European IT Certification Institute (EITCI) since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    EITCA Academy
    • EITCA Academy on social media
    EITCA Academy


    © 2008-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.