---
updatedAt: 2025-08-04T22:01:16.000Z
agentTools:
  projectIndex: https://docs.brightsec.com/llms.txt
---

# Default Login Location

<HTMLBlock>{`
<table id="simple-table">
   <style>
 #simple-table {
    border-collapse: separate;
    width: 100%;
    display: block;
    display: table;
  }
#simple-table th {
    padding: 1.5%;
    text-align: left;
    vertical-align: text-top;
    background-color: #B2D6DA;
  </style>
  <body>
    <tr>
        <th><strong>Details</strong></th>
    </tr>
</table>
  </body>
`}</HTMLBlock>

<HTMLBlock>{`
Severity: <b><font color="#173eb3">Low</font></b><br />
Test Name: <b>Default Login Location</b><br />
Test ID: <b>default_login_location</b>
`}</HTMLBlock>

<HTMLBlock>{`
<table id="simple-table">
    <tr>
        <th><strong>Description</strong></th>
    </tr>
</table>
`}</HTMLBlock>

Some web applications have an administrative login section that allows administrating the application content. Default Login Location vulnerability means that an attacker is able to get control over such a section without authentication or via authorization with the default credentials. It is possible if managing interfaces are not properly protected from unauthorized access or the default password has not been changed (the credentials have not been removed).

<HTMLBlock>{`
<table id="simple-table">
    <tr>
        <th><strong>Impact</strong></th>
    </tr>
</table>
`}</HTMLBlock>

This vulnerability allows an attacker to get access to:

* User account provisioning
* Website design and layout
* Data manipulation
* Configuration changes

<HTMLBlock>{`
<table id="simple-table">
    <tr>
        <th><strong>Locations</strong></th>
    </tr>
</table>
`}</HTMLBlock>

The issue can be found in the **source code** on the **server side**.

<HTMLBlock>{`
<table id="simple-table">
    <tr>
        <th><strong>Remediation suggestions</strong></th>
    </tr>
</table>
`}</HTMLBlock>

* Administrative section must have authentication. That means each action in that section should be authenticated.
* URL for the login form should not be shown on your public website.
* Default Login Location should be changed if possible.
* Administrative section should be closed for search bots. Example of `robots.txt`:

```
User-agent: *
Disallow: /admin
```

* Comments and links with the information about the default login form should be removed from the HTML code shown by the client application.
* Remove the default credentials or change the password.
* Enable Brute Force Protection for the login form.

<HTMLBlock>{`
<table id="simple-table">
    <tr>
        <th><strong>Classifications</strong></th>
    </tr>
</table>
`}</HTMLBlock>

* CWE-287
* CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

<HTMLBlock>{`
<table id="simple-table">
    <tr>
        <th><strong>References</strong></th>
    </tr>
</table>
`}</HTMLBlock>

* <https://cwe.mitre.org/data/definitions/287.html>
* <https://www.owasp.org/index.php/Top_10-2017_A6-Security_Misconfiguration>
* [https://www.owasp.org/index.php/Enumerate\_Infrastructure\_and\_Application\_Admin*Interfaces*(OTG-CONFIG-005)](https://www.owasp.org/index.php/Enumerate_Infrastructure_and_Application_Admin_Interfaces_\(OTG-CONFIG-005\))