Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

TAC Plus passwd sent is corrupt if disk is read-only #167

Open
renukamanavalan opened this issue Apr 13, 2021 · 1 comment
Open

TAC Plus passwd sent is corrupt if disk is read-only #167

renukamanavalan opened this issue Apr 13, 2021 · 1 comment

Comments

@renukamanavalan
Copy link

By any kernel bug, if disk become read-only:

When you login as previously-logged in remote-user, all good. TACACS authentication is successful.
When you login as new remote user (not previously logged in user, in this device), the password sent to TACACS server, is corrupted. Hence the auth fails.

Any idea, what leads to this corruption ?

@renukamanavalan
Copy link
Author

From packet capture on failed login:

 Decrypted Request
        Flags: 0x00
        User length: 4
        User: \b\n\r\177    <-- password, which should have been "pass"
        Data length: 0

From a successful login:

    Decrypted Request
        Flags: 0x00
        User length: 4
        User: pass
        Data length: 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant