An unauthenticated attacker can perform a second-order SQL injection by submitting a crafted referrer URL to the 'wmcTrack' tracking endpoint. The application fails to properly escape the `fullRef` parameter and lacks sufficient preparation of the SQL query, allowing the raw value to be stored in the `wp logVisit` table. The injection is triggered when an administrator views the Traffic Sources dashboard, enabling the extraction of sensitive information from the database.