This paper presents an attribute-based framework for secure communications in vehicular ad hoc networks (VANETs) that utilizes attribute-based signatures for message authentication and integrity while preserving vehicle privacy. It enhances existing solutions by integrating traceability and revocation mechanisms to prevent anonymity misuse, thereby improving security and functionality. The framework's performance is evaluated through implementation using a rapid prototyping tool called Charm.