Webmin, Usermin: Cross-site scripting vulnerabilities — GLSA 200707-05

Webmin and Usermin are vulnerable to cross-site scripting vulnerabilities (XSS).

Affected packages

app-admin/webmin on all architectures
Affected versions < 1.350
Unaffected versions >= 1.350
app-admin/usermin on all architectures
Affected versions < 1.280
Unaffected versions >= 1.280

Background

Webmin is a web-based administrative interface for Unix-like systems. Usermin is a simplified version of Webmin designed for use by normal users rather than system administrators.

Description

The pam_login.cgi file does not properly sanitize user input before sending it back as output to the user.

Impact

An unauthenticated attacker could entice a user to browse a specially crafted URL, allowing for the execution of script code in the context of the user's browser and for the theft of browser credentials. This may permit the attacker to login to Webmin or Usermin with the user's permissions.

Workaround

There is no known workaround at this time.

Resolution

All Webmin users should update to the latest stable version:

 # emerge --sync
 # emerge --ask --verbose --oneshot ">=app-admin/webmin-1.350"

All Usermin users should update to the latest stable version:

 # emerge --sync
 # emerge --ask --verbose --oneshot ">=app-admin/usermin-1.280"

References

Release date
July 05, 2007

Latest revision
July 05, 2007: 01

Severity
low

Exploitable
remote

Bugzilla entries