Vanessa Hudgens

Vanessa Hudgens' lawyer confirmed nude photos that surfaced on the Internet this week are of the star underage, and threatened to take legal action against anyone who shared them. 

"The photographs that surfaced on various Internet sites ... were old photos taken by Ms. Hudgens years ago within her home," the 20-year-old's lawyer, Christopher Wong, said in a statement to ABCnews.com. "She was a minor at the time."

Check out pics of Vanessa Hudgens (with her clothes on)

According to E!, the photos were taken before Hudgens first nude photo scandal of 2007 for which she later apologized to fans saying she was "embarrassed over this situation and regret having ever taken these photos."

Several celebrity blogs have removed the photos of the The High School Musical and upcoming Bandslam star.

"We have reason to believe that the photographs were obtained through illegal or improper means and then posted anonymously on the Internet," Wong said. "We asked the blog sites to take them down because posting such photographs of a minor is illegal, improper and offensive, violates her privacy rights, and infringes other legal rights in and to the photos."