All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
That boy and that girl should have asked the scholars before conducting the marriage contract; Allaah Says (what means): {…so ask the people of the message if you do not know.}[Quran 16:43]
However, the most important conditions of the marriage contract are the consent of the guardian and the presence of two witnesses, so if a marriage contract took place without the consent of the guardian and the presence of two witnesses, then it is a void marriage according to the four schools of jurisprudence; for more benefit on the conditions of marriage, please refer to Fatwa 83629.
Therefore, this marriage is void and it must be invalidated as it took place without the consent of the guardian, and this is void according to the view of the majority of the scholars. In addition to this, this marriage did not fulfill the condition of the presence of two witnesses. For more benefit, please refer to Fatwa 146735.
To conclude, this marriage is void and it must be invalidated, but if the two parties of the contract want to renew it, then they can do so while fulfilling the conditions of a valid marriage contract.
Nonetheless, if there are any children from this marriage, they should be traced back to their father as he got married while believing that the marriage contract was valid.
Allaah Knows best.