An unauthenticated attacker can perform error-based SQL injection by sending crafted values to the `id` parameter via a GET request to the 'job info.php' endpoint. The issue occurs because the application passes the `id` variable directly into an unsanitized SQL query, allowing for the extraction of the database version, current user, schema names, and table contents.