Skip to content
Account takeover Write-up Intermediate

Symantec authentication Bypass

The password reset token in Symantec Messaging Gateway was an encrypted string of the form 'username:password', and the encryption key was static across installations. An attacker who knew the key could craft a token for the admin account with an empty password and obtain a valid administrator session.

Artem Kondratenko Follow

Published on artkond.com

When conducting security assessments sometimes there is no quick way past external perimeter of the customer’s network. As a last resort option one may commit to an extensive research of the few software appliances the client has exposed.

Artem Kondratenko, on artkond.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the password reset token was a reversible encryption of 'username:password' using a hardcoded static key, so a token with an empty password for the admin user was accepted as valid.

Impact

An unauthenticated attacker could obtain a valid administrator session, but only if the password reset feature was enabled.

What the attacker needed

Password reset feature enabled; knowledge of the static encryption key

The fix

The vulnerability was fixed by Symantec in a patched software release.

How it was found

  1. Trigger the forgot password feature by making an unsuccessful login attempt.
  2. Encrypt the string 'admin:' using the static key to produce a token.
  3. Send a GET request to the password reset endpoint with the token as the 'authorization' parameter.
  4. Receive a redirect and a session cookie that grants administrator access.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When you forget your password, a website may email you a special link containing a secret code (a token) that proves you own the account. Here, that code was built from your username and password and then scrambled with a fixed key that was the same on every copy of the product. Because the key never changed, anyone who learned it could make their own code for the admin account and log in without knowing the password.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.