Password Authentication Protocol (PAP)
Password Authentication Protocol (PAP) is a method of authenticating with plaintext credentials, considered vulnerable when used in Point-to-Point Protocol (PPP) connections. Learn how PAP works, why it is weak, and which alternatives to use.
What is Password Authentication Protocol (PAP)?
Password Authentication Protocol (PAP) is one of the simplest authentication methods for network connections. It was defined for use with the Point-to-Point Protocol (PPP), which connects two systems directly, such as a dial-up or DSL link. With PAP, the client sends its username and password to the server, which checks them and either accepts or rejects the connection.
PAP is also found in some RADIUS and VPN configurations as a basic authentication option.
Its simplicity made PAP easy to implement on early networking equipment, which is one reason it still turns up in older configurations.
How does PAP work?
- The PPP link is established between the client and the server.
- The client sends an authentication request containing its username and password.
- The server compares them with its records.
- The server sends back an acknowledgment or a rejection.
The credentials are sent in plaintext, without encryption or hashing, and the check happens only once, at the start of the connection. Anyone who can capture the traffic can read the password and reuse it.
PAP vs. CHAP
The Challenge-Handshake Authentication Protocol (CHAP) avoids sending the password itself. The server sends a random challenge, and the client responds with a value calculated from the challenge and the shared secret. CHAP can also repeat the check during the session. It is stronger than PAP, though it has its own weaknesses, and modern systems prefer methods based on EAP with TLS.
Why does PAP matter?
PAP is still encountered on legacy equipment and some configurations. Where it remains, the link should be protected by an encrypted tunnel, such as TLS, and credentials should be unique to that system. Wherever possible, replace PAP with a stronger method and add multifactor authentication for remote access.
When reviewing remote access or network device settings, it is worth checking which authentication methods are enabled, because PAP is sometimes left on as a fallback even when stronger options exist.
Frequently asked questions
What is PAP?
PAP (Password Authentication Protocol) is a method of authenticating plaintext credentials, considered vulnerable when used in Point-to-Point Protocol (PPP) connections.
Why is PAP insecure?
It sends the username and password unencrypted, so anyone who captures the traffic can read and reuse them.
What should replace PAP?
Stronger protocols, such as EAP-based methods with TLS, combined with encrypted connections and multifactor authentication.
Require more than a password for privileged access
Require step-up authentication before a credential is released.
Related terms
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (PPP) is a protocol for linking two systems together directly.
Read now →Password sniffing
Password sniffing is harvesting passwords by means of software that scans traffic on a network.
Read now →