J-Security Center

Title: Surf-Net ASP Forum Predictable Cookie ID Vulnerability

Severity: MODERATE

Description:

Surf-Net ASP Forum is a free, open-source web-based message board.

Surf-Net ASP Forum allows users to rely upon cookie-based authentication. However, ASP Forum assigns a predictable sequence number when it saves a cookie on the machine of a user. Instead of attempting to randomize the ID number assigned to cookies, ASP Forums use a sequence number directly derived from the UserID of the forum user.

The code used to determine the cookie sequence number is as follows:

lngLoggedInUserID = CLng(Request.Cookies("Forum")("UserID") / 888888)

The administrative account has a UserID of 1, so it follows that the ID number in the cookie will be "0888888". A malicious user can exploit this issue by editing the cookie locally, substituting the admin cookie ID in the place of the one they were initially assigned.

Affected Products:

  • Surf-Net ASP Forum 2.20.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.