Hmm. To guard against an attacker with only user privileges, couldn't you simply mark the file as accessible only by root? ;-)
That said, I'd say if you have user privileges in my router, I've bigger issues than wifi passwords and config files...
That said, I'd say if you have user privileges in my router, I've bigger issues than wifi passwords and config files...
If the passwords were stored properly hashed then the attacker has to do a lot more work to recover the plain text.