Reddit confirmed that a hacker broke into its systems and has gotten to client information – including emails and passwords for accounts.

The Reddit confirmed in a post  that the attack happened between June 14 and June 18, and it recognized the attack on June 19.

“We learned that an attacker compromised a few of Reddit’s accounts with cloud and source-code hosting providers by intercepting SMS two-factor authentication (2FA) verification codes,” a Reddit spokesperson told Threatpost. “We are working with federal law enforcement, and have also taken measures to both address this current situation and prevent similar incidents in the future.”

Those measures incorporate ensuring that extra purposes of administrator access to Reddit’s systems are more secure, including requiring token-based two-factor verification to gain access. The representative did not state what number of clients were affected, just expressing that “a small number of users were affected and have been notified.”

“Already having our primary access points for code and infrastructure behind strong authentication requiring two-factor authentication (2FA), we learned that SMS-based authentication is not nearly as secure as we would hope,” a spokesperson said. “We point this out to encourage everyone here to move to token-based 2FA.”

The hacker did not gained write access to Reddit frameworks; nonetheless, he gained read-only access to a few systems that contained back-up information, source code and different logs. They were not able to change Reddit data. As the site clarified, “we have taken steps since the event to further lock down and rotate all production secrets and API keys, and to enhance our logging and monitoring systems.”